Mr. Ghost,
Wow! Tough call! Especially with so many possible variables.
Let's see... We know that the Musketeers existed - Or at least folks very much like them. And we also have a reasonable idea of their weapons and/or combat skills. On the other hand, we have Kirk, Spock and McCoy - Fictional characters (at least at the present time) - But otherwise also very capable.
Making all things even - That is to say eliminating all weapons, as no one group could be completely familiar/comfortable with the other's devices of destruction - Kirk, Spock and McCoy would have a slight edge due to the infamous Vulcan nerve pinch. On the other hand, the Musketeers would have been well versed in all sorts of "underhanded" fighting techniques - If I kick you in the groin, first, then you won't have a chance to pinch my shoulder - So... Maybe a draw?
Actually, I don't think there would be a fight in the first place. The guys from the Enterprise being stand-up fellows and the Musketeers doing nothing more - or less - than defending King, God and country... I think they'd probably hit it off and becomes fast friends.
...And then they'd all gang up and kick Darth Vader's nasty @ss all the way to pluto! (After saving the Queen's honor, of course!)
...The Kansan...