The Panthers used eight defensemen, playing Matheson and Pysyk between center Noel Acciari. It was the first time Matheson played forward this season.
"I don't know if I'd call it fourth (line)," Florida coach Joel Quenneville said. "They were better than that. They really did set the tone for our team, playing the right way, they cycle and keep it simple."
WATCH: [All Panthers vs. Devils highlights]
Matheson and Pysyk each had a goal and two assists, Acciari had a goal and an assist, and Sam Montembeault made 25 saves in his first start since Nov. 24 for the Panthers (30-20-6), who ended a three-game losing streak.
Jack Hughes, Kevin Rooney and Kyle Palmieri scored, and Louis Domingue made 28 saves for the Devils (20-25-10), who had a six-game point streak end.
Matheson scored on wrist shot from the slot to give the Panthers a 2-1 lead at 19:14 of the first period; Pysyk scored on a wrist shot to give the Panthers a 3-1 lead at 2:43 of the second period; and Acciari scored on a wrist shot from the slot to make it 5-2 at 5:38 of the second.
"They didn't look like defensemen out there to me," Palmieri said. "Obviously, that's their position, but they played well. They were hard on the pucks. The offense they generated was the way to you want to generate offense. They were cycling the puck, getting them up to the point men and they were going to the net hard."