Hiroki Kuroda snapped an 11-start winless streak and Jacoby Ellsbury helped build an early lead with three hits and three RBIs his first three at-bats in a 7-4 victory over the St. Louis Cardinals on Wednesday night.
John Ryan Murphy added two RBIs for the Yankees, who took two of three without an appearance from Mark Teixeira, nursing a sore wrist, and wrapped up a 5-4 trip.
Catcher Brian McCann made his first career start at first base in the finale.
Shelby Miller (6-4) allowed a career-worst seven runs and nine hits in five innings for St. Louis.
Kolten Wong had a career-best four hits and an RBI, Matt Carpenter doubled twice with an RBI and Yadier Molina had two hits and two walks, but the Cardinals stranded 13 runners.
Derek Jeter didn't play in the finale but made a curtain call before the seventh inning after the scoreboard camera focused on him in the dugout and fans responded with another standing ovation.