TORONTO — Troy Stecher scored with 26.3 seconds left in regulation as the Maple Leafs beat the Rangers, 5-4, on Thursday night for their third straight victory.

Stecher’s winner came on a delayed penalty after he took a pass from Morgan Rielly and ripped a high shot.

Mika Zibanejad had a goal and an assist and Oliver Bjorkstrand, Tye Kartye and Alexis Lafreniere also scored for the Rangers (7-4-1), who got 31 saves from Dylan Garand.

Adam Fox had four assists to give him 14 in the first 12 games of the season.

Brandon Duhaime had a goal and two assists and Teddy Blueger, Kirill Marchenko and Easton Cowan also scored for Toronto (6-4-2).

Sergei Bobrovsky made 21 saves. Zack MacEwen added two assists. Blueger also had an assist for a two-point night.

Bobrovsky tied former Ranger Henrik Lundqvist for most wins by a non-North American goalie with 459.