OP
As posters have already thought, this is impossible.
If you had a process to reduce a body to sub atomic particles and reconstruct it as the opposite sex while still retaining all your experience, learning and personality, how does that work?
You still have a person who has undergone an extreme body modification but all of their understanding of the world Is of the opposite sex. The person will have no experience of their body type and how does that work?
Without developing who you and how the world around you interacts with your sexed body, how do you change sex? Not just the perceptions that are the foundation of all our interactions with the world, how does a male person then know how to adapt physically to their environment. All of a sudden their body reacts differently, eg just in walking and jumping etc .
Even from an experience point of view, a male person will never have experienced being female in any way when they come to consciousness of their new body. Will this era be utopian where no sex based negative discrimination will be experienced at all?
If not, why should a male person then be able to get opportunities needed for female people to counter the sexed based negative discrimination that they experienced from birth?
Unless you have a perfect way to change every single memory and learning and perception of that male person into them having experienced it within the linear development of a human life experience, your experiment is meaningless.
This ‘thought experiment’ has been done before on MN.
No one ever said that all it took was a male person to change their entire sexed body to one of a female sexed body. Logically, we are also the materially real experiences of how we have interacted with our bodies from the start of our life and how the world interacts with our sexed person.