Aaron Judge hit a tiebreaking single in the top of the 10th to lead the New York Yankees to a 3-1 win against the Tampa Bay Rays.