FA Cup holders Chelsea face a repeat of last year’s final after the fifth-round draw handed them a visit from Ole Gunnar Solskjaer’s resurgent Manchester United.
Elsewhere, giantkilling pair AFC Wimbledon and Millwall were drawn together, while Manchester City face a potential trip to face Newport, if the side from South Wales can overcome Middlesbrough in their fourth-round replay.
Crystal Palace’s reward for beating Tottenham on Sunday is a trip to League One side Doncaster Rovers, while Watford will go to either Portsmouth or QPR.
All fifth round ties will take place between 15-18 February.
Bristol City vs Shrewsbury OR Wolves
AFC Wimbledon vs Millwall
Doncaster Rovers vs Crystal Palace
Middlesbrough OR Newport vs Manchester City
Chelsea vs Manchester United
Swansea City vs Barnet OR Brentford
Portsmouth OR QPR vs Watford
Brighton OR West Brom vs Derby County