BUFFALO, United States — The Toronto Blue Jays showed Wednesday night why they could be a dangerous wild-card team in the playoffs.

Danny Jansen hit two solo homers as the Blue Jays used a 16-hit attack and eight-run sixth inning to bulldoze the New York Yankees 14-1 at Sahlen Field. Jansen had four hits and three runs to help the Blue Jays move closer to nailing down a playoff berth.

"Putting ourselves in this spot is a great feeling," Jansen said. "But we've still got work to do."

Toronto (29-27) trimmed its magic number to one with the victory and can secure its first post-season spot since 2016 with a win in Thursday's series finale.

Cavan Biggio scored three times, Randal Grichuk added a pair of runs and Vladimir Guerrero Jr., had three RBIs. Starter Robbie Ray was effective over four-plus innings and A.J. Cole threw a scoreless fifth inning for the win.

Under Major League Baseball's expanded playoff structure, 16 teams will reach the post-season. Division winners will be seeded No. 1 through No. 3 in each league, second-place teams will be seeded fourth through sixth, and two third-place wild-card teams will get the seventh and eighth seeds.

The Los Angeles Angels, currently ninth in the AL, kept their faint playoff hopes alive earlier Wednesday with a 5-2 win over the San Diego Padres.

Facing veteran right-hander Masahiro Tanaka (3-3), the Blue Jays took advantage of a couple breaks to put up two quick runs in the first inning.

With Biggio on after a leadoff walk, Teoscar Hernandez hit a double-play ball up the middle that took an unexpected high bounce near the lip of the grass and rolled into the outfield.

Guerrero stroked a single that scored Biggio with the game's first run. Yankees catcher Gary Sanchez tried to pick the young slugger off first base but a wide throw went down the right-field line as Hernandez trotted home.

Ray breezed through the first inning but issued two walks in the second. Gio Urshela singled to load the bases and a passed ball allowed Luke Voit to score the Yankees' lone run.

New York loaded the bases with none out in the fifth inning. But Cole (3-0) held off the heart of the Yankees' order by fanning Giancarlo Stanton and getting Voit — who leads the majors in homers — on an infield fly and then Gleyber Torres on a flyout.

"That was really the game," Jansen said. "Saving that was huge for us. Bases loaded, no outs, coming in and getting that. There's a lot of momentum swing right there."

Toronto followed New York's lead by putting its first three batters on base in the sixth. The Blue Jays took full advantage by batting around with a two-run single by Lourdes Gurriel Jr., and Biggio's two-run double serving as highlight blows.

The victory came a day after New York dumped Toronto 12-1.

"Today was a big game after yesterday," said Blue Jays manager Charlie Montoyo. "That's what they've done all year — come back from top losses. It was great to see, facing another good pitcher like Tanaka, coming back tonight and scoring all those runs. A big win for us."

New York (32-24) had four hits and a season-high four errors. The Yankees have a magic number of one to secure a second-place finish in the East Division.

Ray, who was pulled after the first two batters reached in the fifth, allowed three hits, four walks and had five strikeouts. Tanaka gave up three earned runs, eight hits and three walks while striking out five.

Jansen, who went deep off Tanaka in the fourth, added another shot in the eighth off Yankees catcher Erik Kratz, giving the Toronto backstop six homers on the season.

Toronto was a wild-card entry when it last reached the post-season four years ago. The Blue Jays went on to reach the AL Championship Series for the second straight year.

Notes: Ross Stripling threw four shutout innings of relief for his first save. ... The game took three hours 39 minutes to play. ... The Blue Jays will send ace Hyun-Jin Ryu (4-2, 3.00 ERA) to the mound on Thursday. The Yankees will also start a left-hander in Jordan Montgomery (2-2, 5.12). ... The Blue Jays will close out their regular season with a three-game weekend series against the Baltimore Orioles.

This report by The Canadian Press was first published Sept. 23, 2020.

Follow @GregoryStrongCP on Twitter.