Thomas Pock, Martin Straka and Petr Prucha, each had a goal and an assist, and Ryan Callahan also scored for the Rangers, who won for the sixth time in seven games and held on to seventh place in the Eastern Conference.
Ben Eager had two goals, and Braydon Coburn and Ryan Potulny added one each for the Flyers, who have dropped two straight and six of seven. Nathan Guenin had two assists for his first NHL points.
Flyers goalie Martin Biron, 5-7-1 since being acquired from Buffalo on Feb. 27, was replaced by Antero Niittymaki at 7:15 of the second after allowing goals to Jagr and Straka within a minute to give the Rangers a 5-2 lead.
Biron stopped only 17 of 22 shots. Henrik Lundqvist had 33 saves for the Rangers.