TORONTO >> Dustin Pedroia hit an RBI double in the 11th inning and the Boston Red Sox beat the Toronto Blue Jays 5-3 on Sunday, avoiding a three-game sweep.
Blake Swihart drew a one-out walk against Gavin Floyd (2-4) and moved to third when Floyd threw a wild ball four to the next batter, Mookie Betts.
Drew Storen came on to face Pedroia, who hit a ground-rule double to right-center. Pedroia went 2 for 6 with two RBIs.
Xander Bogaerts followed with an RBI groundout. He went 1 for 6, extending his hitting streak to 22 games.
Clay Buchholz (3-5) worked one inning for the win in his first relief appearance since Aug. 17, 2008. Buchholz was removed from Boston's rotation Friday and replaced by Eduardo Rodriguez.
Koji Uehara finished for his first save as Boston became the first AL team to reach 30 wins.
Jose Bautista hit a two-run homer for Toronto, which had won a season-high four straight. It was the 14th loss of the season for the Blue Jays' bullpen, matching Atlanta and Cincinnati for most in the majors.
Toronto trailed 3-2 before Encarnacion tied it with a leadoff homer against Heath Hembree in the eighth, his 11th.
Making his first start in Toronto since helping the Blue Jays reach the American League Championship Series last October, David Price gave up two runs and five hits in 6 1/3 innings, leaving to a round of applause from the crowd of 47,916.
Bautista opened the scoring with a drive off the left-field foul screen in the fifth, his 11th. It was Bautista's sixth career homer off Price, the most by any opposing batter.
Red Sox: DH David Ortiz was scratched with a sore left foot. He was hit on the foot by a pitch in the fifth inning of Saturday's 10-9 loss and struck out on the play. Ortiz is day to day. ... C Ryan Hanigan (neck) came on as a defensive replacement for his first action since Wednesday.
Red Sox: RHP Steven Wright (4-4, 2.52 ERA) starts the opener of a four-game series at Baltimore. Wright has allowed 10 earned runs in his past three outings, raising his ERA by a full run. RHP Tyler Wilson (2-3, 3.80 ERA) starts for the Orioles.
Blue Jays: RHP Marco Estrada (2-2, 2.76 ERA) starts the opener of the three-game series against the New York Yankees. RHP Ivan Nova (3-2, 3.65 ERA) starts for New York on Monday.