Gaborik broke a 1-1 tie with a goal 4:45 into the final frame, notching his 18th goal of the season and the 300th of his NHL career.
The Rangers winger added an empty-netter, Carl Hagelin also scored in the third and Artem Anisimov added a marker as New York won for only the third time in seven games.
Henrik Lundqvist turned aside 30-of-31 shots, including all 11 he saw in the final period to earn the win.
Puzzle-maker slips 'Murdoch Is Evil' into Rupert Murdoch's Sunday Telegraph
N.J. man wakes up from 10-hour sleep with knife in back