NEW YORK — Patrice Bergeron had the go-ahead goal in the second period, and the surging Bruins scored three times in the third to pull away for a 5-1 victory over the Islanders on Tuesday night. Danton Heinen, Brad Marchand, Tim Schaller and Noel Acciari also scored for the Bruins, who are 7-0-2 in their past nine games and have moved into second place in the Atlantic Division, 10 points behind the Lightning. Tuukka Rask stopped 25 shots. Jordan Eberle had New York’s goal and Jaroslav Halak finished with 33 saves as the Islanders lost their third straight. Josh Bailey was held without a point, ending his career-high streak at 11 games. A fluky goal from Bergeron put the Bruins ahead 2-1 in the second. A centering pass to Marchand took a funny deflection right to Bergeron on the side of the net, and he banked it in off Halak at 8:28. Marchand got his 200th career assist. Marchand then got his 16th goal at 9:04 of the third after the Islanders turned over the puck and David Pastrnak led an odd-man rush to make it 3-1. Schaller deflected the puck out of the air to give the Bruins a three-goal lead with just less than five minutes left in the game, and Accaiari added an empty-netter with 2:13 left. The Bruins are 12-1-2 in their past 15 contests against Eastern Conference opponents. GAME HIGHLIGHTS: Timo Meier scored twice and the visiting Sharks beat the Canadiens 4-1. San Jose has won four of five. Montreal, which hosts the Lightning on Thursday, has lost five straight games and scored just four goals during that span. … Alex Ovechkin scored his NHL-leading 26th goal 1:57 into overtime, and the visiting Capitals beat the Hurricanes 5-4. Ovechkin also tied it with 7:15 left in regulation, with Nicklas Backstrom assisting on both goals. … Phil Kessel and Conor Sheary scored in a four-goal second period to lead the visiting Penguins to a 5-1 win over the Flyers. Philadelphia goalie Brian Elliott, who made his 14th straight start, allowed the four goals on eight shots in the second period and was yanked for Michal Neuvirth in the third. AROUND THE LEAGUE: The Wild activated left wing Zach Parise from the long-term injured reserve list, setting him up for his season debut after missing the first 39 games.