Ugh I guess I'm going to be this type of fan.
I like both universes but the "they will just get a transporter lock and teleport everyone" is an awful argument that shows a very bad lack of understanding of Star Trek.
There are hundreds of examples of transporters not working. Shields which even the tiny falcon does have are a constant example. Even past that there are tons of other cases. They don't work in storms, through thick rock, through unusual armor/metal, around jamming which is used basically universally in Star Wars on anything larger or more expensive than a Tie Fighter.
Those are just the ones off the top of my head and there are at least a dozen more. It is one of the top plot lines used in every series.
In a fight the falcon just runs away since even mid grade Star Wars ships have radically faster FTL.
Now if you ignore the running away yes the tiny falcon probably does lose to most or maybe even all of the Trek hero ships. It is a smuggler ship that can just run past blockades if it gets flagged.
Actual combat ships are far harder to figure out. Star Wars deals with a massively larger scale of ship size, total energy output, and FTL speed. At first glance that seems like an obvious win and in a full galaxy scale conflict probably does go to Star Wars.
But any single ship to ship combat especially with the hero ships the range of gadgets/tricks on the Star Trek side is massively in their favor. The rate they pick up tech charges probably would largely even out the tech difference in a galaxy wide fight as well. However that doesn't solve the scale difference. Maybe convince the Borg to produce ships with stolen FTL and hypermatter reactors so they can produce enough at scale quickly.
Edit - I just realized that while the transporter argument doesn't generally hold water it would totally work on all the cheap Tie Fighter pilots. LOL. That would be so funny to watch.
I also agree that the fast talking Han messing with a hick kid is the better option.
However I have to at the same time admit that if you are going to make it actually hold up as something literally accurate then it is one of the best retcon jobs ever written to actually make it work.
Sadly it comes from one of the more painful old expanded universe series because Kyp Durron is one of the most insufferable overly perfect wonder kids ever written. Plus also being the books with the Sun Crusher which is fighting for the most overkill super weapon in all of Star Wars. Which is really saying something considering the huge range of super weapons through the franchise.