I must point out that it is a scientific impossibility for both the Star Wars universe and the Star Trek universe, to traverse the immense distance between galaxies to reach one another. Given that the Star Wars galaxy is allegedly far, far away from our own Milky Way galaxy, the distance is immense even by galactic standards.
However, assuming some anomaly in the Space-Time Continuum, or some scientific advancements allowing the two universes to interact, I feel that, given the Star Wars universe is much more militarily focused, it would be hard for the peoples of our galaxy to match the firepower of the Empire or even the Rebellion in that respect.
The Borg however indeed may have been difficult for the empire to stop, however a better match for the Borg would be the Yuuhzan Vong who are extra-galactic war-mongers from the Star Wars universe. I cannot calculate with any degree of accuracy the likelihood that either the Borg or the Yuuhzan Vong would emerge victorious.
Between the Romulans, Klingons, and Starfleet I believe it would be a worthy competition however I still find the Star Wars fleets to hold tactical and technological advantages concerning weaponry and warfare due mostly to its prevalence in the universe.
"Panama Joe" provides us with a case-study on contradiction as he condemns J.J. Abrams latest installment to the Star Trek universe based upon its use of time travel. However time travel is hardly unprecedented in Star Trek as Captain Kirk and the crew of the Original Series showcased episodes including time travel. Furthermore, in the realm of feature length films, the crew of The Next Generation traveled through time in "Star Trek: First Contact"
It is illogical to condemn a series citing elements that are present throughout the entire franchise.
Live Long and Prosper \\//
The inviolable tenets of Logic