Easy. I choose to become a Level 8 Samsaran Arcanist, ensuring my own effective reincarnation and immortality for all time. I store all my wealth in a safely guarded location and memorize the details in several dozen different forms, ensuring my next incarnation will certainly remember where it is. I then purchase an elixir of sex shift, immediately drink the elixir and revert back to my normal gender.
The assassin I hired will then kill me as arranged before your magic activates to send my body back to my original world, and I will then be reborn to live as I wish with all the knowledge of where I stored my original materials.