Toronto opened the scoring 17:14 into the game when William Nylander beat Henrik Lundqvist for his seventh of the year, and doubled the lead just 50 seconds into the second on a power play goal by Ron Hainsey.
New York cut the deficit in half 1:47 later when Jimmy Vesey scooped up a misplayed puck by goaltender Frederik Andersen behind the net. Vesey quickly turned towards the front of the cage and sent a backhand shot on goal that banked in off Andersen and into the net.
The Maple Leafs regained its two-goal lead when it capitalized on a Rangers defensive lapse that left Auston Matthews alone in front. Matthews, who returned to the lineup after missing six games to injury, waited out Lundqvist and tucked a backhand shot into the net at 11:22 of the middle frame.
Vigneault shuffled his lines to start the third, going down to three forward lines and new defensive pairs. The move did not include Mika Zibanejad, who was replaced on his line with Chris Kreider and Buchnevich by Miller, which paid off for New York with a goal.
"At that time, with the power play time, Boo [Nieves] and Paul [Carey] hadn't seen a lot of ice time. I was going to go down to three lines after that first shift in the third. Just went in another direction."
When asked about Zibanejad's play, Vigneault said he "definitely thought the other nine guys were better."
Henrik Lundqvist was again brilliant in a losing effort. He made 34 saves, including breakaway stops on Matthews, James van Riemsdyk and Patrick Marleau in the third period.