"Jacoby Ellsbury hit a tie-breaking two-run homer in the sixth inning off Boone Logan, Josh Beckett improved to 4-0 against the Yankees and the Red Sox came from behind for a 9-5 win on Wednesday night.
The Red Sox, who lost the series opener 5-2 on Tuesday night, extended their AL East lead over the Yankees to 1 1/2 games and improved their record to 11-3 this season against their division rivals.
David Ortiz and Jason Varitek also hit two-run homers for Boston.
The Yankees scored four runs in the sixth off Beckett (12-5) - the same amount they managed in his other 32 innings against them this season - and went ahead 5-4.
In the bottom of the inning, Phil Hughes (4-5) retired the first batter. Then he went ahead of Josh Reddick 0-2 before walking him, and Reddick scored the tying run on Varitek's double. After Marco Scutaro flied out, left-hander Boone Logan came in to face lefty Ellsbury. On a 3-and-1 count, Ellsbury hit his 24th homer into the left-field seats above the Green Monster.
Beckett allowed four earned runs and six hits through seven innings. He struck out eight and walked three.
Daniel Bard and Jonathan Papelbon each pitched a scoreless inning and the Red Sox improved to 62-3 this season when leading after six."