When the newly christened Tampa Bay Devil Rays started selling tickets for their 1998 debut season, they threw a party outside their St. Petersburg ballpark with players on hand to greet fans and sign autographs. They sold out exactly one game.

“That was a pretty big alarm bell,” one former team official said.

About 15 years later, the Miami...