Manchester United survived an early scare to beat League Two Cambridge United and set up an FA Cup fifth-round trip to Preston North End.
Striker Tom Elliott should have given Cambridge a shock lead in the replay but shot against a post after a Daley Blind error within the first minute.
Louis van Gaal's side took the lead through Juan Mata's close-range finish before Marcos Rojo headed in a second.
James Wilson's 18-yard low strike sealed the win for the hosts.
They will travel to Deepdale on 16 February to face League One promotion hopefuls Preston for the first time since 1972.
Cambridge defied the odds to hold their Premier League opponents to a 0-0 draw at the Abbey Stadium.
The League Two side, 14th in the table and 79 places below Manchester United, are estimated to have earned £1m from Tuesday's tie and were cheered on by more than 6,600 travelling fans among the 74,511 spectators inside Old Trafford.