Towards the end of the first half Newport gained momentum with Christian Jolley's curled shot just wide of goal.
In the second half Wrexham stepped up their game and nearly took the lead in the 59th minute when an initial shot from Andy Morrell was palmed by Lenny Pidgeley into the path of Ormerod who blasted over from six yards.
As the game looked certain to go into extra time Jolley headed a warning shot just wide of goal in the 83rd minute.
Wrexham failed to heed the warning and in the 86th minute a long up-field pass from Andy Sandell was headed backwards by Wrexham's David Artell into the path of Jolley who made no mistake in lifting it over the on-rushing Chris Maxwell and into the goal.
Wrexham replaced Jay Harris with Dele Adebola in the 89th minute and pushed every player up front, including goalkeeper Maxwell.
They managed to force a number of corners in injury time but were caught on the break by Jolley who fed O'Connor.
His initial left-footed shot was saved but he made no mistake with his right-footed follow-up to make the score 2–0 to County in the 4th minute of injury time.