Manchester United will travel to the Emirates to take on Arsenal in the fourth round of the FA Cup.
Elsewhere, City will host Burnley, Crystal Palace welcome Tottenham to Selhurst Park and Everton go to Millwall, who beat Hull City thanks to a Shane Ferguson double.
Bolton, who were fired through by a Josh Magennis hat-trick, go to Bristol City.
Liverpool were ousted by Wolves on Monday evening thanks a spectacular Ruben Neves winner. Wolves will go to either Shrewsbury or Stoke City in the fourth round.
The fourth round ties are scheduled to take place on the weekend of January 26.
Swansea City v Gillingham
AFC Wimbledon v West Ham
Shrewsbury or Stoke City v Wolves
Millwall v Everton
Brighton v West Brom
Bristol City v Bolton
Accrington Stanley v Derby or Southampton
Doncaster Rover v Oldham
Chelsea v Sheffield Wed or Luton
Newcastle or Blackburn v Watford
Middlesbrough v Newport County
Manchester City v Burnley
Barnet v Brentford
Portsmouth v QPR
Arsenal v Manchester United
Crystal Palace v Tottenham Hotspur