Jacoby Ellsbury's fourth hit of the night was a walk-off single that scored the winning run in a 4-3 win over the rival Yankees that drops the pinstripes back into a first place tie for the division lead.

David Robertson (1-7) retired the first four batters he faced, but allowed three straight singles allowing Baltimore to pull even with the Yankees, after the O's pummeled the Rays 9-2.

New York stranded nine runners, going 1-12 with runners in scoring position - Derek Jeter's two-RBI ground rule double in the sixth that gave the Yanks a 3-2 advantage.

But in the bottom half of the inning, Dustin Pedroia tied things with solo-homer off Hiroki Kuroda, who was charged with three runs on eight hits of 6 1/3 innings.

Jon Lester started for the Sox but did not factor in the decision after walking a career high seven, yielding three runs on five hits.

Joe Girardi will throw David Phelps (3-4) against Boston's Aaron Cook (3-9) on Wednesday night.