First of all I'm terribly sorry for the violent crime you suffered. It wasn't your fault and I'm just glad that monster didn't kill you too.
SSA (same sex attractions) among survivors of such crimes are so common as to be just about omnipresent. The mind is so fixated on imagery and experiences of sex with men, and the sexual fantasy "center" of the brain is powerful enough that it sort of runs with what it sees. There's also the element of survivors feeling compelled to re-enact their abuse under circumstances where they are in charge - even if, as is your case, they are heterosexual or primarily heterosexual, the mind must rationalize what happened and shed some of the sense of victimhood by recasting events such that the survivor is in charge. So that sex with men will take place on the survivor's terms, without fear or panic or never knowing if it's going to get worse.
Sounds sensible.... the trouble is, it's not a "real" solution and the people who have indulged in it almost never say it made the feelings go away.
Therapy can really, really help. It isn't a cure, but it helps you manage and move on with a more stable and enjoyable life.
You don't have to stay lost and confused forever. Millions of people have been through what you have and the mechanisms for recovery are (sadly) well-tested through experience. If you face your problems and are determined, there's no reason why you would be denied having the family you wish for.
I wish you only the best of luck - and so do the other 12,000 users here.
"Don't think it hasn't been a little slice of Heaven just because it hasn't!" --Bugs Bunny