"There's not much you can do. You've got to play the right way," Pastrnak said. "Obviously it's always going to be back in your head, but like I said, guys help me and try to support me all the time. But also when I had that stretch with a lot of goals I said that might happen that you won't score for a couple games. It was more than a couple, but it's nice to get the one and especially with the win."
WATCH: All Red Wings vs. Bruins highlights
The Bruins (24-21-6) had been 0-3-1 in their past four games. They won for the second time in 21 games (2-16-3) when trailing after two periods after Marchand tied the score 3-3 8:20 into the third period.
"It was frustrating the way we were playing, we were playing good and we were down," said Marchand, whose second goal made it 3-3 at 8:20 of the third period. "So it was a little frustrating but we showed a ton of character tonight, coming out and getting that win."
Tuukka Rask, who left in the second period of a 5-1 loss at the Pittsburgh Penguins on Sunday because of a migraine headache, made 23 saves.
Jared Coreau made an NHL career-high 45 saves, and Andreas Athanasiou, Mike Green and Tomas Tatar scored for the Red Wings (20-19-9). Henrik Zetterberg had two assists.