Ole Gunnar Solskjaer’s Manchester United travel to Arsenal in the fourth round of the FA Cup, while Crystal Palace play host to Tottenham in another all-Premier League tie.
Holders Chelsea will take on the winners of the clash between Sheffield Wednesday and Luton, Everton travel to Millwall and Manchester City play host to Burnley.
A home clash against Watford awaits the winners of the encounter involving Newcastle and Blackburn, while West Ham take on Wimbledon at Kingsmeadow.
The fourth-round fixtures kick off on January 26, with the draw for the fifth round set to take place two days later.
FA Cup fourth-round draw in full:
Swansea v Gillingham
Wimbledon v West Ham
Shrewsbury or Stoke v Wolves
Millwall v Everton
Brighton v West Brom
Bristol City v Bolton
Accrington v Derby or Southampton
Doncaster v Oldham
Chelsea v Sheffield Wednesday or Luton
Newcastle or Blackburn v Watford
Middlesbrough v Newport
Manchester City v Burnley
Barnet v Brentford
Portsmouth v QPR
Arsenal v Manchester United
Crystal Palace v Tottenham