Michael Grabner scored a pair of third-period goals to help the Rangers put away the Maple Leafs 5-2 at the Air Canada Centre.
Brady Skjei, Pavel Buchnevich and J.T. Miller also scored for New York, which stopped a three-game losing streak.
Henrik Lundqvist made 23 saves in the win.
Tyler Bozak and Zach Hyman had the goals for Toronto, which had won three straight games and nine of its previous 11.
The Leafs host the red-hot Ottawa Senators tomorrow night.