The Bruins maintained their lead in the Atlantic Division by overcoming a one-goal deficit to begin the final period.
Tuukka Rask had to make just 17 saves to get the win. Boston's 36 points are the most in the Eastern Conference.
Ryan McDonagh and Rick Nash scored for New York, which had won three of its previous four contests. Lundqvist stopped 25 shots.