Well, you’re not “gay” if you’ve been attracted to men for most of your life, unless you want to identify that way. So don’t jump to that. “Bi” or “pansexual” or “fluid” or “mostly straight” all seem to fit you better, from where I’m standing, so take your pick.
Hanging out with queer women wouldn’t make you queer; “the gay” isn’t contagious. But spending time in that kind of crowd can open your eyes to the types of attractions you may have been setting aside, ignoring, or completely not noticing in the past.