Arsenal will face Manchester United in the FA Cup fourth round in their first meeting in the competition since March 2015.
Unai Emery’s clash with Ole Gunnar Solskjaer was the standout tie of the round as the two Premier League giants prepare to face each other again.
The two clubs met nearly four years ago at Old Trafford, with Arsenal emerging as 2-1 winners with the crucial strike from former United forward Danny Welbeck.
Newport, the giantkillers of the third round after beating former Premier League champions Leicester, were given a tough away game at Middlesbrough.
Michael Flynn, the Newport manager, said: “It’s a long journey and will be a tough game. Tony Pulis is a Newport man and it’s a game we will look forward to.
“Tony is a great man and very helpful to young managers. They are a big club and if they take their eye off the ball and we have a good day, it could be interesting.”
Gillingham, the conquerors of Neil Warnock’s Cardiff on Saturday, were rewarded with a trip to Swansea City.
Everton’s Marco Silva was given a potentially awkward tie with a trip to the New Den to face Championship side Millwall.
Chelsea, the FA Cup holders, will play the winners of the replay between Sheffield Wednesday and Luton Town.
West Ham will face another game with former coach Wally Downes at AFC Wimbledon, after meeting in the Carabao Cup earlier this season. Manuel Pellegrini’s team defeated the Dons 3-1 in that tie.
Wolves are set for a Midlands derby in the next round after beating Liverpool, with Nuno Espirito Santo’s side facing the winners of the replay between Stoke and Shrewsbury.
Barnet, the lowest-ranked club left in the competition, have a home tie against Championship club Brentford.
FA Cup fourth round draw in full
Swansea City vs Gillingham
AFC Wimbledon vs West Ham
Shrewsbury or Stoke vs Wolves
Millwall vs Everton
Brighton vs West Brom
Bristol City vs Bolton
Accrington vs Derby or Southampton
Doncaster Rovers vs Oldham
Chelsea vs Sheffield Weds or Luton
Newcastle or Blackburn vs Watford
Middlesbrough vs Newport
Man City vs Burnley
Barnet vs Brentford
Portsmouth vs QPR
Arsenal vs Man Utd
Crystal Palace vs Tottenham
Ties will be played
Across the weekend of Jan 25-28