Eric Baker long envisioned bringing together the two ticketing companies he started.
This week eBay Inc. agreed to sell its StubHub unit, a business Mr. Baker launched nearly two decades ago, to Geneva-based Viagogo Entertainment Inc., the ticketing firm with a large European presence he has been running since 2006.
The $4.05 billion all-cash…