NEW YORK (Reuters) - Sprint Corp has agreed to pay about $40 per share to buy T-Mobile US Inc , a person familiar with the matter told Reuters on Wednesday, signaling progress in a long-contemplated deal to merge the third- and fourth-largest U.S. wireless carriers.