Elsewhere in the draw Chelsea faces MK Dons or Northampton and Man City will take on the winner of the Aston Villa/Wycombe third round tie
Defending champion Arsenal has been drawn against Burnley in the FA Cup fourth round while Manchester United will travel to Pride Park to take on Derby County.
Guus Hiddink's Chelsea will face either Northampton Town or MK Dons while Liverpool will take on West Ham, provided the Reds beat Exeter City at Anfield in their third round replay.
Giant-killer Oxford United, which beat Swansea 3-2 on Sunday, is rewarded with a home tie against either Newport County or Blackburn Rovers while Eastleigh will take on Leeds United, if it can see off Bolton in their replay.