NEW YORK -- Jacoby Ellsbury got four hits and scored the winning run in the ninth inning on Brian McCann's pop-fly single that dropped near three Cincinnati Reds in shallow right field, giving the New York Yankees a 3-2 victory Sunday.
Ellsbury and Derek Jeter each had an RBI single for the Yankees, who finished a three-game sweep in their first series after the All-Star break.
Hiroki Kuroda outpitched Cincinnati ace Johnny Cueto and left with a 2-1 lead before Todd Frazier's tying homer off Dellin Betances in the eighth.
Ellsbury also stole two bases and made a sliding catch in center field that saved a run. He reached safely all five times up, including a leadoff single in the ninth off Aroldis Chapman (0-3).
Before that, left-handed hitters had been 1 for 18 with 12 strikeouts against the hard-throwing Cuban this season.
Ellsbury got a great jump and swiped second without a throw. He reached third on a wild pitch before Chapman struck out Mark Teixeira with a 101 mph fastball.
McCann, another left-handed batter, lifted a popup that barely reached the outfield grass behind first base. But with the infield playing in, Frazier and second baseman Skip Schumaker scurried back trying to get under the ball as Jay Bruce rushed in from right field.
All three appeared to have a hard time finding the ball in the sun, and it landed untouched. Ellsbury alertly saw what was happening and dashed home easily as McCann stood on first base with his arms raised.
Chapman stared out toward shallow right field, where Frazier, Schumaker and Bruce had their hands on their hips in disbelief.
Center fielder Billy Hamilton had trouble with the sun earlier, allowing Ellsbury's seventh-inning fly to fall for a double.
David Robertson (1-2) pitched a perfect ninth. It was New York's second walk-off win this season and the fifth game-ending hit for McCann -- his first since a home run for Atlanta against Houston on May 17, 2011.
The 39-year-old Kuroda gave up three hits and no earned runs over 6 2/3 innings in his 200th major league appearance. Cueto threw 112 pitches in five innings, matching his shortest start of the season.
After losing their sixth straight road game, a season high, the Reds are 2-5 without injured sluggers Joey Votto and Brandon Phillips.
Frazier won a matchup of All-Stars in the eighth when he lofted Betances' full-count pitch into the left-field corner, just beyond the 318-foot sign.
It was the first home run at Yankee Stadium for Frazier, who grew up about 85 miles away in Toms River, New Jersey. He pumped his fists at home plate and received hearty high-fives in the dugout.
Betances has allowed two homers in 58 1/3 innings this season.
Kuroda struck out the side on 11 pitches in the first inning. He got some defensive help in the third when Ellsbury raced in to grab Frazier's sinking drive with two on.
Cueto threw a called third strike past Teixeira with the bases loaded to end the bottom half. But the right-hander walked four -- including No. 9 batter Kelly Johnson twice -- and the Yankees pushed his pitch count early.
Cueto finally wore down a bit in the fifth, when Johnson and Brett Gardner drew consecutive one-out walks. Jeter and Ellsbury followed with sharp RBI singles to right, giving New York a 2-1 lead.
Reds manager Bryan Price came out to the mound for a visit with Cueto -- and a long chat with plate umpire Angel Hernandez on his circuitous route back to the dugout. Cueto regrouped to strike out Teixeira and McCann with two on.
But that was it for Cueto, who fanned seven.
Schumaker, just off the seven-day concussion disabled list, had an RBI double with two outs in the fifth. It was Cincinnati's first hit in 20 at-bats with runners in scoring position during the series.
Frazier, an All-Star third baseman this season, made his eighth start of the year at first and robbed Teixeira of a first-inning hit with a diving stop at the bag. ... Cincinnati is 3-8 in interleague games. ... Schumaker is 8 for 21 (.381) against Kuroda. ... RHP Mat Latos (2-1, 2.79 ERA) starts Monday night in Milwaukee against RHP Wily Peralta (10-6, 3.72). Latos left his most recent outing July 11 against Pittsburgh with lower back spasms. ... Cincinnati has won all three series against the Brewers this season. ... Yankees RF Ichiro Suzuki snapped an 0-for-18 slump with a sixth-inning single. ... New York rookie Shane Greene (2-0, 1.32 ERA) starts Monday night against Texas RHP Miles Mikolas (0-2, 10.05). ... Mariano Rivera's son, drafted by the Yankees in the 29th round last month, did not sign with the team before Friday's deadline. Mariano Rivera III was a sophomore starting pitcher at Iona last season.