TORONTO (AP) — R.A. Dickey hit the century mark in career wins in his 100th start with Toronto, moving the Blue Jays closer to clinching their first playoff berth in 22 years.

Dickey pitched seven innings to earn his 100th career victory, Josh Donaldson hit his 40th home run and the Blue Jays beat the Tampa Bay Rays 5-3 on Friday night.

"It's been a tough year, losing my dad," said an emotional Dickey, whose father, Harry Lee Dickey, died in June. "This is really good to celebrate this, at home, in my 100th start for the Blue Jays. It's really poetic."

The Blue Jays were set to clinch at least a wild-card spot if both the Twins and Angels lost Friday. Minnesota fell 6-4 at Detroit, while the Angels played later against the Mariners.

"The wild-card game is not something that we as a unit would celebrate," Dickey said. "We're after the division championship."

The Blue Jays haven't been to the postseason since winning their second straight World Series in 1993.

Toronto extended its AL East lead to four games after the White Sox beat the Yankees.

Jose Bautista and Kevin Pillar also went deep for Toronto, which leads the majors with 217 homers, the fourth highest total in team history. The Blue Jays hit 257 homers in 2010.

"It's no secret," Rays manager Kevin Cash said. "We know that they have the ability to hit the ball out of the ballpark."

Dickey (11-11), who came in winless in his last three starts, settled down after a shaky first. The knuckleballer retired 18 of the final 19 batters he faced, including the last 11 straight.

"It looked like it was dancing pretty good tonight," Cash said. "After the first inning, there weren't too many hard-hit balls off him."

Dickey said he found success by changing speeds with his knuckleball.

"It seemed like the slower one had a lot more movement, so I used that one as kind of the catalyst," he said. "It was in their heads that I was going to take it down a notch, and then when I did throw a hard one sometimes, it would beat them."

Tampa Bay catcher J.P. Arencibia hit a leadoff homer off Mark Lowe in the eighth, and Roberto Osuna finished for his 18th save.

Three of the first four batters reached safely against Dickey as the Rays scored twice in the opening inning. Grady Sizemore came home on a wild pitch and Asdrubal Cabrera followed with a sacrifice fly.

Back-to-back doubles by Pillar and Cliff Pennington halved the deficit in the second, and Donaldson's homer off Jake Odorizzi tied it in the third.

Donaldson became the ninth player in Blue Jays history to reach the 40-homer mark. He joins Carlos Delgado (2000) and Shawn Green (1999) as the only Toronto players to post 40 home runs and 40 doubles in the same season.

"He's had a huge year, an MVP year," Blue Jays manager John Gibbons said.

Pillar put the Blue Jays on top when he connected off Odorizzi to begin the fourth. Pennington followed with his second double, went to third on a sacrifice and scored on Ben Revere's single.

Bautista homered into the second deck off Kirby Yates to begin the seventh for his 37th.

Odorizzi (8-9) allowed four runs and seven hits in five innings.

WEB GEM

Blue Jays C Russell Martin raced to the far end of Toronto's third base dugout to make a running catch on Sizemore's foul popup in the third, reaching into the dugout to make the grab.

BEEN A WHILE

Toronto's 88 wins and 51 home wins are their most since 1988.

TRAINER'S ROOM

Rays: LHP Jake McGee (left knee) is expected to come off the 15-day DL Saturday. McGee has been out since Aug. 18.

Blue Jays: Donaldson was the DH while Pennington started at 3B. ... SS Troy Tulowitzki (broken left shoulder blade) took swings off a tee Thursday, then fielded grounders and played catch Friday. He's due to hit off the tee again Saturday. "Feel like I'm moving a lot better," Tulowitzki said.

UP NEXT

Rays: RHP Chris Archer (12-12, 2.92 ERA) seeks to snap a four-start winless streak. He's 3-1 with a 0.93 ERA in four starts against the Blue Jays this season.

Blue Jays: LHP David Price (17-5, 2.34 ERA) is 4-0 with a 1.38 ERA over his past four starts. He'll face his former team for the first time since July 28 with Detroit, when he gave up five runs and seven hits in six innings, including two home runs by Rays C Curt Casali.