Kieffer Moore celebrates after scoring the fourth goal of the game against Sheffield United.
Kieffer Moore scored twice as Phil Parkinson's side produced a stunning fightback from a two-goal deficit to overcome his former club Chris Wilder's men in a pulsating eight-goal Championship encounter.
The forward's sweetly-struck first-time shot put United ahead, but Wrexham levelled almost immediately courtesy of a Tyler Bindon unfortunate deflection.
Bamford's second and a close-range header seemingly have handed United in a comfortable lead at 3-1, before the towering striker pulled one back with a thumping header of his own.
Ryan Longman's header early in the second period brought the scores level, paving the way for Moore to give his side the lead for the first time with a quarter of an hour remaining.
Josh Windass' composed penalty late on sealed the win, ending a sequence of five games without victory for the promoted side.
When these two sides met in the cup competition back in 2023, it finished in a epic 3-3 draw.
This latest clash provided a further high-octane, dramatic installment in their recent history.
Backed by high-profile investors, Wrexham's remarkable rise through the leagues has brought them back to the second tier for the first time since the 1980s.
Coming into this fixture on the back of a poor patch of form, manager Phil Parkinson had demanded a replication of the characteristic spirit from those cup ties.
The players certainly delivered, battling back from a 3-1 deficit to claim a memorable comeback win that underscores their resilient attitude.