SurrealLife saidNo it would not make you gay or queer, but it would make your intimate relationships with other men more difficult.
Yes. Increasing scientific evidence continues to point to sexual orientation being established prior to birth. There is no evidence that orientation can be changed at a later time, even by traumatic incidents such as molestation.
Some traumas can leave emotional scars that result in altered behavioral & response patterns. Is it therefore not uncommon to see adults exhibit particular sexual habits & practices that are reflective of earlier traumatic events in their lives.
For instance, a child who remembers seeing police uniforms at a very frightening moment, perhaps during a motor vehicle crash, might later develop a fetish for uniforms during adult sexual play. Or a sexually abused child might later find him or herself drawn to adult sex partners whose appearance or behavior approximates the abuser from their youth, and/or the circumstances surrounding those events.
But this occurs in both straight & gay persons, so that trauma is not the source of basic sexual orientation, but rather may influence sexual practices within that orientation.