Your problem is that you think there is something wrong with you relative to your community, not that you have a physiological defect. Therefore, while I'm also a materialist, comparing yourself to a broken airplane isn't an accurate metaphor (I've met some charismatic airplanes, but they never had a sense of community).
Even if you can't stop believing that it's wrong to want to be the opposite sex, there is no way for you to stop wanting to be the opposite sex (regardless of the root of the desire), so you're left with either feeling pain, or taking a painkiller. I know you're afraid of harming those you care about by giving yourself what you're aching for (even if it would be difficult for you to pass, if you have hope, making progress will bring you pleasure), and you have a low valuation of your life, but since you have the option to alleviate your pain, by suffering needlessly, you are most likely hindering your goal of promoting the most good.
Stop self-flagellating to make yourself feel moral, stop contemplating all of the situations you would rather be in, stop torturing yourself with memories of your perceived mistakes, and instead work on creating a decent life for yourself. It is the most productive and moral thing you can do.
I'm sorry for being tough. I'm just trying rouse you from your self-described robotic state. I understand it is difficult for you accept ambiguous ideas and to remove your long held belief that if you acted a certain way, there would be order and justice in the world. Never give up though and along the way, don't feel selfish for asking for help, as you're providing a valuable service. Through you, we are all fighting a common demon.
Also, find a support group. Self acceptance can be much easier if you befriend people that would happily accept you with breasts and a dress.