Mind. Soul. Free will. Autonomy. Call it what you like.
I think these are the product of God's creativity.
These are just words. When you say 'soul,' what exactly are you talking about? What is the composition of this thing called 'soul?' Spirit stuff?....What is Spirit? How does Spirit interact with matter?
Did the Female spirit/soul accidently inhabit a male body in your example?
Souls are ghosts. Pretty easy to understand, abracadabra stuff and all that.
We know all of the interactions that are possible for matter on scales smaller than solar systems, but larger than nucleons.
None of them allows for a spirit, soul, or ghost to interact with the brain or body of any living thing.
Souls, spirits, ghosts and any other 'life after death' or dualistic phenomena are as physically impossible as a brick that falls upwards. These things simply cannot exist, unless our best tested physics is completely and utterly wrong in a number of very obvious ways that would be immediately apparent to kids in a middle school physics class. Our best tested physics isn't that wrong. In fact, it's indistinguishable from 100% right, according to our most sensitive and expensive tools for testing it.
To believe in ghosts, souls, or an afterlife requires a lack of knowledge about reality that is a massive insult to the many thousands of experts who have devoted their lives to the discovery and publication of that knowledge.
You don't need to know how a petrol engine can make your car go; But you shouldn't insult the thousands of mechanics and engineers who have devoted their lives to improving those engines and the cars they power, by making absurd claims that the entire understanding of how they work is wrong, and that in fact they only work because of a prayer you said last week. That would be unbelievably stupid, insulting and arrogant. And so is claiming that material humans can interact with a hypothetical "soul". It's absurd, it's nonsense, and it's a massive red flag that says "Here is someone so badly misinformed about reality that they don't even realise how little they understand, or how much is now understood".
Every philosopher from before the middle of the twentieth century (and most of those since) who have considered these questions, have been completely unqualified to do so because they haven't kept up with the remarkable - and testable, and repeatable - results that have come from quantum field theory.
If you don't even know what the four forces that interact with matter are, or the properties of the particles that carry those forces, then you are as qualified to discuss interactions between humans and hypothetical unknown external influences as a neolithic man would be to install and upgrade the operating system on a modern laptop.
Go home, theists. You are so far out of your depth, that you are at severe risk of the bends.
Physics has now described reality sufficiently well as to render your claims provably false. Your ignorance of these proofs is no defence. Fuck off and learn some physics. It's not easy - but unlike religion, it actually works as a means to understanding reality.