Detroit Red Wings can’t get win for ex-Northern Michigan University goalie Jared Coreau

Detroit Red Wings goalie Jared Coreau, a former Northern Michigan University player, makes a save during the second period in Boston on Tuesday. (AP photo)

BOSTON — David Pastrnak’s long-awaited 20th goal of the season came at an opportune moment for the struggling Boston Bruins.

Pastrnak scored with 46.9 seconds left in overtime to lift the Bruins to a 4-3 win over the Detroit Red Wings on Tuesday night, ending Boston’s four-game losing streak.

“It’s very nice to get the one — especially with the win,” said Pastrnak, who hadn’t scored since getting his 19th on Dec. 14 against Pittsburgh.

Brad Marchand had two goals as the Bruins won for the first time since beating Philadelphia 6-3 on Jan. 14. Boston also atoned for blowing a 3-0 lead against the Red Wings, who rallied to beat the Bruins 6-5 in a shootout six days before.

Jared Coreau finished with 45 saves in his second start against the Bruins in less than a week. He was pulled just 5:13 into the Red Wings’ shootout win at home last Wednesday after allowing three goals on eight shots.

Detroit Red Wings goalie Jared Coreau (31) during the second period of an NHL hockey game in Boston, Tuesday, Jan. 24, 2017. (AP Photo/Charles Krupa)

The Bruins’ Tuukka Rask finished with 23 saves.

Mike Green had a goal and assist for the Red Wings, who extended their point streak to six straight games despite losing three straight in overtime.

“Right now not good just enough to get that point,” Green said. “It does sting. We’ve got to find a way to get it done in regular time because obviously things aren’t bouncing our way in overtime.”

Andreas Athanasiou and Tomas Tatar also scored and Henrik Zetterberg added two assists.