TORONTO — Gio Urshela hit two home runs for the second straight game, and the Yankees outslugged the rookie Bo Bichette and the Toronto Blue Jays, 12-6, on Thursday night to extend their winning streak to a season-best nine games.

Playing in Toronto for the first time, Bichette became the first player in major league history to double in nine consecutive games. He also homered, giving him an unprecedented 13 extra-base hits in his first 11 career games. Bichette is the first rookie to have an extra-base hit in nine straight games since Ted Williams in 1939, according to Stats L.L.C.

The Yankees have hit a record 19 homers over their past four games, including at least five in each win during a three-game sweep at Baltimore this week. Mike Tauchman also homered on Thursday, giving the Yankees three long balls in the series opener against the Blue Jays.

The Yankees have homered in 12 consecutive games, hitting two or more in a season-high seven straight. They are an American League-best 51-7 when hitting two or more homers this season.