A federal judge is expected to approve T-Mobile US Inc.’s merger with Sprint Corp., according to people familiar with the matter, clearing the way for the two wireless rivals to combine and overcoming a state antitrust challenge.

The decision, which these people said is expected to be made public Tuesday, would hand the carriers a victory over a group of state attorneys general who argued the merger could result in higher cellphone bills for customers.

...