NEW YORK (AP) -- Dioner Navarro hit a go-ahead single with two outs in the ninth inning, and the Toronto Blue Jays rallied after wasting three leads to beat the New York Yankees 5-4 Sunday for their first series win in the Bronx in nearly two years.

Jacoby Ellsbury #22 of the New York Yankees is congratulated by teammates after scoring on a single by Brian McCann #34 in the sixth inning against the Toronto Blue Jays during a MLB baseball game at Yankee Stadium. (Photo by Rich Schultz/Getty Images)

After snapping a 17-game skid at Yankee Stadium on Saturday, Toronto did not relent in the humidity. Jose Bautista reached on a fielder's choice against David Robertson (1-3) in the ninth, stole second without a throw and scored on Navarro's liner to center field.

Toronto hadn't taken a series against the Yankees in New York since Aug. 27-29, 2012, the last time the Blue Jays had won on the road against the AL East rival. With the win, the Blue Jays left town with a one-game lead over the Yankees for the second AL wild card.

Aaron Sanchez (1-0) gave up Carlos Beltran's tying RBI hit in the eighth. Munenori Kawasaki had put Toronto ahead with a sacrifice fly that followed Dellin Betances' two-base error on a pickoff attempt.

Juan Francisco homered off Shane Greene leading off the fifth to put Toronto up 2-0. But Chase Headley hit his first homer with the Yankees, a drive off J.A. Happ, and two pitches later Francisco Cervelli hit his first homer in 15 months to tie it in the sixth.

Casey Janssen pitched the ninth for his 16th save.

Derek Jeter made two nice stops at shortstop and Brendan Ryan, a shortstop playing second base, also flashed some impressive leather while playing in Colorado Rockies shortstop Troy Tulowitzki. The injured start was on the East Coast for a second opinion on his hip flexor from a doctor in Philadelphia.

Bautista had a run-scoring grounder to first base after Jose Reyes led off the game with a single and Melky Cabrera doubled. Francisco led off the fifth with a drive into the second deck in right field for a 2-0 lead.

But Happ gave it all back in a three-pitch span in the bottom half. First, Headley hit a drive deep to left. With a 1-0 count, Cervelli sent a shot to right-center that glanced off leaping Cabrera's glove and hit the top of the right-field wall. Cervelli hadn't homered since April 25, 2013, a span of 65 at-bats.

Rausmus put Toronto back up with a double to left-center in the sixth, chasing Greene after 5 1-3 innings.

Greene allowed eight hits and three runs in his second straight difficult outing after beginning his career as a starter with two outstanding outings.

Brian McCann evened it when he beat out a hit to Kawasaki, the second baseman who was playing in right field as part of a shift.

© 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed. Learn more about our Privacy Policy and Terms of Use.