any drama where mc has had many lives and has been reborn throughout as different genders in different life. eg: see you in my 19th life

or dramas where mc died as female reincarnated as male vice versa etc

Mr Queen (korean version) or Go Princess Go (Chinese original version)
Beauty Inside (movie) and Beauty Inside (series) => I personally find the movie a lot better but then I did watch that before the series came out so I might be based there.

If you read manga I'd actually recommend you to try "Kanojo ni Naru hi". This is the story about a world where the gender of people changes depending on the amount of people living, meaning if there are too many males than some kids end up change to the other gender. The story is about 2 guy best friends where one of them becomes a woman and how their relationship changes because of that. It really sounds absolutely weird but it is an amazing story, very well written.
The manga is completed and has only around 20 chapters. 
There is also a spin off called "Kanojo ni Naru hi: Another", which follows 2 other characters, also well done but not as good as the original.  

First Love Again (one of the MLs was female in his past two lives and is now male)

also possibly Love and Redemption  BIG SPOILER FL was originally male in her first incarnation and becomes male again for a bit at the end

In this reincarnation genre I saw only some anime, but I would recommend King Is Not Easy , which is only a body swap, but it is very hilarious when FL has to behave like a king for most of episodes.

If you do not mind bls, than there is one from Myanmar Tick Tick Again. Here is the link to my post about it with the links to where to watch it: https://mydramalist.com/profile/Selbeg/feeds/48yROFA

There is a currently airing Thai BL called The Sign in which one of the leads was a female in the previous life. Fell in love with the same guy in both lives. Available on YouTube.

https://mydramalist.com/54361-made-in-heaven

I can't say I recommend this movie but it meets your criteria