After Pittsburgh erased a three-goal deficit to tie it 4-4 early in the third, Hughes put New Jersey back in front on the power play, chipping in a shot to the right of the net after Nico Hischier slipped a pass through the crease behind goalie Arturs Silovs. It was his 15th goal this season and fifth in five games.
Connor Brown and Luke Evangelista then each scored his second goal of the game into an empty net. Brown pushed the lead to 6-4 at 17:55 before Evangelista secured the 7-4 final at 18:11.
Arseny Gritsyuk had a goal and two assists, Hischier had two assists, and Jake Allen made 30 saves for the Devils (22-8-0), who have won nine of 11 (9-2-0).
Sidney Crosby, Evgeni Malkin and Kris Letang played their 1,041st game together for the Penguins, the most by any trio of teammates in NHL history ahead of Anze Kopitar, Dustin Brown and Drew Doughty (1,040 for the Los Angeles Kings). Crosby scored with Letang and Malkin each recording an assist on the goal.
Rickard Rakell, Rutger McGroarty and Tommy Novak also scored, and Silovs made 29 saves for Pittsburgh (10-17-2), which had won three of four.
Rakell cut it to 3-1 at 9:25 of the second period, stickhandling around Devils defenseman Jonas Siegenthaler for a wrist shot.
Crosby scored just 34 seconds later to make it 3-2 when a pass from Letang went in off his skate, ending his 11-game goal drought.
Brown pushed it to 4-2 at 4:15 of the third period by shoveling in a loose puck with a backhand.
McGroarty made it 4-3 at 5:52 by shooting it in off Allen’s pad from a sharp angle, and Novak tipped a point shot from Kaedan Korczak to tie it 4-4 at 6:30.
Hughes put New Jersey ahead 1-0 at 3:01 of the first period, driving to the high slot for a wrist shot past Letang.
Gritsyuk and Evangelista then scored 34 seconds apart. Gritsyuk extended it to 2-0 at 13:10 with a backhand on a breakaway. Evangelista then made it 3-0 at 13:44 after deflecting a shot from Gritsyuk.