Hanley Ramirez hit a two-run homer, Mookie Betts had a pair of extra-base hits and David Ortiz also had two hits Saturday to help the Boston Red Sox beat the first-place New York Yankees 5-3.
The Red Sox won for the 10th time in 13 games. They remained in last place in the AL East, but they closed to 5 1/2 games out in the division. Boston was 10 games out June 20.
The Yankees had beaten the Red Sox five straight times, including a 5-1 win Friday. But a day after losing the series opener and top starter Clay Buchholz on the same night, the Red Sox got 6 1/3 solid innings from Eduardo Rodriguez (5-2).
The rookie left-hander allowed five hits and a walk while striking out two, leaving with a 3-2 lead in the seventh. It was just the third time in nine career starts that he has given up two runs or more.
Koji Uehara pitched the ninth for his 22nd save, ending it by getting Brian McCann on a 400-foot fly ball to center with a man on base.
Alex Rodriguez homered in the first inning for the second straight game, and ex-Boston center fielder Jacoby Ellsbury had three hits, including a home run.