Aaron Hicks hit a tiebreaking triple in the ninth to help lead the New York Yankees to victory over the Tampa Bay Rays 4-2.