Coming off a bad weekend, the Philadelphia Flyers got back on track with a big game from its special teams and a huge third period against the usually stingy New Jersey Devils.

Wayne Simmonds and Nick Cousins scored 50 seconds apart in a four-goal third period and the visiting Flyers won for only the second time in seven games with a 6-3 victory over New Jersey Tuesday, snapping the Devils' three-game winning streak.

"That was a huge win, especially against New Jersey," said Simmonds, who snapped a 2-all tie. "That's a team directly in front of us that we're chasing. That was a big one for us."

With less than two months left in the season, the Flyers, who lost games to the Devils and Rangers this past weekend, are four points out of a playoff spot and five behind the Devils.

Rookie defenceman Shayne Gostisbehere extended his points streak to 13 games with a goal and Claude Giroux added three assists. Jakub Voracek and Ryan White also scored in the third period.

Gostisehere's rookie point scoring streak is the longest by a defenceman and it is tied for fifth overall with Nathan MacKinnon of Colorado in 2014. The league record for a rookie at any position is 20 games by Paul Stastny of Colorado in 2007.

Special teams were the difference. The Flyers killed six of seven power plays and converted two of four extra-man chances.

"PK was huge tonight," said Flyers goaltender Michal Neuvirth, who made 21 saves. "It was one of the biggest reasons we won that game. We took too many penalties but the PK stepped up and basically won the game for us."

Tyler Kennedy, Jordin Tootoo and Kyle Palmieri scored for the Devils.

'We just weren't good enough'

"We just weren't good enough in any phase of the game for us to be able to win," Devils coach John Hynes said.

Simmonds snapped a 2-2 tie at 12:22 of the third period with a power-play goal. Schenn set it up with a cross-ice pass from the left circle that Simmonds redirected into an open net for his 21st goal.

Cousins got his second goal of the season on a scramble in front less than a minute later and Voracek beat Cory Schneider on a 2-on-1 break to push the lead to 5-2.

Palmieri got the Devils within two goals with his 21st of the season, but White scored into an empty net to close out the scoring.

The Flyers were fortunate to leave the ice after the first period tied 1-1. They spent most of the period on the penalty kill as defenceman Radko Gudas picked up a match penalty for an elbow to the head of Bobby Farnham.

They also took three other minors, including an interference call on Nick Schultz that resulted in Stephen Gionta leaving the game with what appeared to be a shoulder injury.