The Flyers have won three straight behind goalie Martin Biron, and got a goal and an assist from Danny Briere.
Briere has bounced back into form since returning from the groin injuries that cost him most of this season. He has three goals and two assists during the winning streak, helping the Flyers keep their hold on fourth place in the Eastern Conference.
Brendan Shanahan and Jamie Langenbrunner scored for New Jersey, which missed a chance to clinch a playoff spot.
Biron stopped 32 shots and heard the "Marty! Marty! Marty!" chants that were so familiar when he led the Flyers to the Eastern Conference finals last year. Biron entered the game with a 2.73 goals-against average, the lowest it's been this season. He is 10-4 in his last 15 appearances, including a 27-save effort in Sunday's win at Pittsburgh.
Biron got some offensive help in a flash to open the third.
Carter knocked in Kimmo Timonen's shot 55 seconds into the period for his 40th goal, putting him third in the NHL. Claude Giroux led the attack moments later and dumped the puck behind him to Gagne, who scored from the red line to make it 4-2.
Biron kept the Devils in check from there and the Flyers killed a 4-minute power play after Daniel Carcillo was whistled for high-sticking. The Flyers are the only team to not allow a short-handed goal this season.
Gagne and Timonen each had two assists.
Patrik Elias sat out for the Devils because of lower body soreness after he was hurt Sunday against Boston. Elias, who has 30 goals and 77 points this season, is day to day.
Shanahan was back, though, after missing the Boston loss and he gave the Devils a 1-0 lead early in the second when a shot from Dainius Zubrus struck his skate and went past Biron for his fifth goal.
The goal was reviewed, but it stood because there was no distinct kicking motion.
Briere tied it with a power-play goal off a sharp pass from Timonen. Timonen faked a slapper, but made a perfect feed to Briere just outside the crease, who punched it past Brodeur for his eighth goal.
Briere helped put the Flyers ahead in the second when he controlled the puck in the right circle, getting Brodeur to sneak out and face the Flyers center. Briere instead passed the puck to Mike Knuble, who pounded in his 26th goal and a 2-1 lead.
Langenbrunner scored his 25th from the slot on the power play to make it 2-2.
The Devils' road slump continued, as they dropped their third straight and four of five outside New Jersey.
Notes: Knuble played in his 300th game with the Flyers. ... Gagne has at least one point in 10 of 11 games. He had his 26th career three-point game. ... Elias broke the Devils' franchise record for points last week, topping John MacLean's mark.
NEW YORK SPORTS AND MORE
SEND TIP OR PHOTO || REPORT TYPO || GET WIDGET
EYEWITNESS TWITTER || FIND US ON FACEBOOK