John Tavares and Michael Grabner scored for New York, while Jaroslav Halak stopped 28 shots. It was the Metropolitan Division-leading Islanders' fifth loss in 22 games (17-5-0) at home this season.
Miller put the Bruins ahead for good with 3.4 seconds left in the second. He intercepted Halak's clearing attempt at the right wing boards just inside the blue line, and fired a quick shot that found the back of the net to give Boston a 3-2 lead.
Stay Connected
NHL.TV™
NHL GameCenter LIVE™ is now NHL.TV™.
Watch out-of-market games and replays with an all new redesigned media player, mobile and connected device apps.
Introducing the new official NHL App, available for iPhone, iPad and Android smartphones and tablets. A host of new features and improved functionality are available across all platforms, including a redesigned league-wide scoreboard, expanded news coverage, searchable video highlights, individual team experiences* and more. The new NHL App on your tablet also introduces new offerings such as 60fps video, Multitasking** and Picture-in-Picture.
*Available only for smartphones
** Available only for suported iPads