Former England and Manchester United star Bryan Robson lived up to his 'Captain Marvel' billing as his new charges pulled off the most unlikely of comebacks.
The struggling Bantams looked to he heading for another dismal defeat in front of their new boss, but an amazing second-half revival was sealed by substitute Michael Branch's injury-time winner.
Robson had flown back from Dubai to see if his side could end a run of 12 games without a win but it was his players who looked jet-lagged as MiIlwall cruised into a two-goal lead.
City's defensive failings looked set to cost them dear as another individual blunder gifted the Lions their opener after 18 minutes.
Centre-half Jason Gavin's slip gave winger Aboubaka Fofana the chance to pull the ball back and, although Alan Combe blocked Nick Chadwick's close-range shot, Tim Cahill prodded home the rebound.
Five minutes later Everton-man Chadwick marked his loan debut with a stunning 20-yard strike and City did little to suggest they could turn things around.
Former Juventus man Fofana dribbled his way through only for Combe to block again and it was left to Robson and his assistant Colin Todd to rally their troops at half time.
The duo brought on injury-plagued striker Danny Cadamarteri and he made an immediate impact.
City skipper Dean Windass went close with a near-post effort, but Cadamarteri made no mistake after 51 minutes when he collected Simon Francis' cross and rifled the ball home from just inside the box.
Chadwick was then inches away from converting a Peter Sweeney cross but City showed their grit to level after 68 minutes.
Paul Heckingbottom won possession with a strong tackle on halfway and when the ball fell to striker Andy Gray the Scottish international side-stepped his marker to place a low drive past Tony Warner.
Fofana and Windass both wasted good chances and it was left to Branch to grab the glory late on.
With 90 minutes up Robson's first loan signing Gareth Farrelly showed his quality with a defence-splitting pass, and Branch kept his head to draw Warner and beat him with a chip from 18 yards.