Tony Romo replaced Dak Prescott — for just a moment — for the playoff-bound Dallas Cowboys in the second quarter Sunday at Philadelphia. Jerry Jones couldn’t have scripted it any better.

Romo, 36, came on in the second quarter and completed 3-of-4 passes for 29 yards, including a score to Terrance Williams, and then was immediately pulled for Mark Sanchez.

Jones, the Cowboys’ ever outspoken owner, has been stoking a quarterback controversy nearly all season, to the point that Romo had to announce himself that he would be the backup. Still, Jones has made comments suggesting Romo’s turn will come, and he’ll get even more press after Romo’s near perfect outing (in one series) — which, most importantly, did not result in injury.

It was Romo’s first action in a regular-season game since Thanksgiving 2015 when he broke his left collarbone for the second time in less than three months. Romo broke a bone in his back in the third preseason game against Seattle this season, paving the way for Prescott to have one of the best years by a rookie quarterback in NFL history.

The Cowboys have already locked up the No. 1 seed and home-field advantage throughout the NFC playoffs.

Prescott played two series, was 4-of-8 for 37 yards and left in a 3-3 game. Running back Ezekiel Elliott, who is 178 yards away from breaking Eric Dickerson’s single-season rookie record, has remained on the sideline since the start of the game.