TORONTO - Sean Rodriguez' sacrifice fly in the 10th inning gave Tampa Bay a 6-5 win over the Toronto Blue Jays on Sunday as the Rays recovered from blowing a 5-1 lead.

The Rays came into the game having lost four of their last eight games, throwing away leads of 4-0, 4-0, 3-0 and 2-0 along the way. But they hung on for the win this time after mounting their own comeback.

The Jays were down to their last strike when pinch-hitter John Mayberry Jr. hit a solo home run to send the game into extra innings tied 5-5. The ball just cleared the left-field fence to the delight of 28,633 with the roof open at the Rogers Centre.

Mayberry's seventh home run of the season -- the previous six were with Philadelphia -- was his fourth pinch hit homer of the campaign and the seventh of his career.

After doing the hard work in the ninth, the Jays laid an egg in the 10th.

Reliever Brandon Morrow (1-3) put Toronto in a hole leaving men on first and third with no outs for left-hander Brett Cecil after a Wil Myers walk and Logan Forsythe single. Things got worse when Forsythe stole second and Yunel Escobar walked to load the bases.

Myers scored on Rodriguez's sacrifice fly but Jays third baseman Danny Valencia cut down Forsythe at the home on an ensuing groundout to limit the damage.

Brandon Gomes and Jeff Beliveau, with his first save, pitched the 10th for Tampa, following Jake McGee (5-2).

Tampa outhit Toronto 14-7.

The Rays had seemed on the way to victory, with starter Chris Archer restricting the Jays to one run on three hits over seven innings.

But Adam Lind's three-run homer in the eighth made things interesting, cutting the Rays' lead to 5-4. Lind's drive over the left-field fence scored Jose Reyes and Jose Bautista, who had both singled off Rays reliever Grant Balfour. It was Lind's second home run in as many days after a career-high 36-game homer drought.

Edwin Encarnacion, who had homered off Archer in the seventh, followed Lind's sixth of the season with a drive to the warning track.

Ben Zobrist, with his 10th of the season, and Escobar, with a blast off the Level of Excellence just below the .500 level of the Rogers Centre, homered for Tampa.

Tampa wins the series 2-1 after blanking the Jays 1-0 in Friday night's opener.

Toronto had won five of its last six and 10 of 13 since Aug. 30, during which time it has outscored the opposition 70-30.

Escobar, a former Jay, was booed as he rounded the bases after his solo moonshot off Todd Redmond in the eighth. The shortstop rubbed salt in the wound with his trademark celebration as he crossed home plate after his seventh homer of the season.

Archer set down 10 in a row after loading the bases in the third. The streak ended when Encarnacion led off the bottom of the seventh with a home run to left-field.

Encarnacion's 32nd homer -- his second in as many days -- tied Bautista for the club lead.

Archer struck out nine while walking three before giving way to Balfour, Joel Peralta and McGee.

Tampa is 26-8 since the start of 2013 when Archer throws six innings or more and 4-15 when he doesn't.

Archer came into the game with an 8.82 earned-run average in his last three outings. But apart from the slight wobble in the third, the right-hander mowed his way through the Jays and faced the minimum three batters in the first, second, fourth, fifth and sixth

The six-foot-three right-hander feasted on the bottom four of the Toronto lineup, recording nine strikeouts and a flyout while yielding only a Valencia broken bat single against Colby Rasmus, Valencia, Ryan Goins, Anthony Gose and pinch hitter Dan Johnson.

The bottom of the order has previously been a problem at times for Archer. No. 7 through 9 hitters have accounted for four of the 10 home runs he has conceded this season and had hit .286 against him compared to the league average of .241.

The Jays had won Mark Buehrle's five previous starts against Tampa this year, with the left-hander yielding a total of eight earned runs. It looked like more of the same as Buehrle retired the first six batters he faced before giving up four runs on seven hits in the third and four inning.

Buehrle lasted six innings, giving up four runs on nine hits with one strikeout.

The game was the 20th straight that Jays starters had gone six or more innings, erasing a club record set in 1998. But it did not come with a win this time as the offence slumbered, dropping Toronto's record to 12-8 over that stretch.

Rodriguez doubled to lead off the third then scored on a sacrifice fly and groundout before Zobrist homered to left field.

Archer loaded the bases with a pair of two-out walks in the bottom of the third but escaped with a Lind flyout.

The Rays went up 4-0 in the fourth after Evan Longoria singled and Bautista lost a Myers fly ball in the sun, turning an out into a double. Longoria scored on a groundout before a Ryan Hanigan RBI single added to the run count.

Bautista had turned heads in the first inning with a sliding catch of a Guyer short fly ball. And he looked to have made another great play, racing to a Forsythe foul ball. But a fan beat him to it with a fine catch of his own, drawing boos when the play was shown on the big screen.

There was a happy ending for the Jays as Forsythe, on review, was called out due to fan interference