Rochdale or Millwall will face Newport County or Tottenham Hotspur at home in the fifth round of the Emirates FA Cup.
Should Dale progress, the tie will be played at the Crown Oil Arena on the weekend of Saturday 17th February.
Dale and Millwall will lock horns again in the fourth round replay on Tuesday 6th February, 7.45pm kick-off.