Wrexham will face Tottenham Hotspur in the FA Cup fifth round if they can overcome Sheffield United in their replay.
John Egan scored a late equaliser as the Blades denied Wrexham a direct route into the next round on Sunday, and the pair will have to face each other again at Bramall Lane.
Manchester City will travel to Bristol City for their fifth-round clash, with the sides having not played each other since the Carabao Cup semi-finals in 2018.
On that occasion, Pep Guardiola's men were triumphant, and they are among the favourites for this year's FA Cup, having last lifted the trophy in the 2018-19 season.
Manchester United will have an all-Premier League clash with West Ham at Old Trafford, after the East London side beat Derby on Monday evening.
Stoke host Brighton, who knocked out holders Liverpool with a late winner on Sunday.
Leeds will travel to either Fulham or Sunderland after the teams could not be separated in an entertaining 1-1 draw at Craven Cottage on Saturday, while Leicester welcome either Blackburn or Birmingham.
In the other games, Southampton play the winner of the replay between Luton and Grimsby, while Ipswich or Burnley will host Sheffield Wednesday or Fleetwood.
The fifth round will be played during the week commencing February 27.
Fifth round FA Cup draw in full
Southampton v Luton or Grimsby
Leicester v Blackburn or Birmingham
Stoke v Brighton
Wrexham or Sheff Utd v Tottenham
Fulham or Sunderland v Leeds
Bristol City v Man City
Man Utd v Derby or West Ham
Ipswich or Burnley v Sheff Wed or Fleetwood
Ties to be played during w/c Feb 27.