West Ham's reward for knocking Manchester United out of the FA Cup is a fifth-round trip to Sunderland.
Cup holders Chelsea or Gillingham face a testing trip to Arsenal, while Liverpool are at home to Manchester City.
Conference side Kingstonian will travel to Leicester if they beat Bristol City in their fourth-round replay.
Leicester v Bristol City or Kingstonian
Wycombe v Middlesbrough or Wimbledon
Bolton v Blackburn or Derby
Charlton or Tottenham v Stockport County
Liverpool v Manchester City
Arsenal v Gillingham or Chelsea
Southampton v Tranmere
Sunderland v West Ham
Ties to be played on the weekend of February 17-18.