NEW YORK (Reuters) - Sprint Corp S.N has agreed to pay about $40 per share to buy T-Mobile US Inc, a person familiar with the matter said, marking further progress in the attempt to merge the third and fourth-biggest U.S. mobile network operators.