Jesper Bratt had three assists, and Nico Hischier and Timo Meier scored for the Devils (36-26-6), who had won three in a row. Luke Hughes had two assists, and Jacob Markstrom made 16 saves.
“It’s just a lot of things that are not winning hockey, in terms of our execution today and just some of our mistakes,” New Jersey coach Sheldon Keefe said. “You get what you deserve. So, momentum, stuff like that, we’re just hoping that things work out in our favor at that point.”
Cody Glass, who was traded from the Penguins on March 7, put the Devils ahead 1-0 at 10:08 of the first period with a wrist shot from the right face-off circle. He has four points (two goals, two assists) in four games with New Jersey.
"It's tough, always, going into a place that you've played before and created so many good friends,” Glass said. “It's always tough, but at the same time, it's a game. So, you've got to get your head into it and go out there and play.”
Dewar and Danton Heinen then scored 25 seconds apart.
Dewar tied it 1-1 at 17:11, tipping a shot from Noel Acciari onto Markstrom and collecting the rebound for a wrist shot.
Heinen gave Pittsburgh a 2-1 lead at 17:36 with a backhand on a 2-on-1.
Rakell made it 3-1 on a delayed penalty at 4:24 of the second period with a one-timer in the slot set up by Sidney Crosby.