T-Mobile US Inc. struck a $26 billion deal to buy Sprint Corp. in a combination that, if allowed by antitrust enforcers, would leave the U.S. wireless market dominated by three national players.

It is the third time in the last four years the two rivals have attempted the combination.

The leaders of both companies are determined to close...