Town will face Exeter City or Nottingham Forest away in round five of the FA Cup.
The Grecians host the Tricky Trees in their fourth round tie at St James Park on Tuesday evening (KO 8pm).
Exeter are 18th in League One, while Forest are third in the Premier League having beaten Town 1-0 in the league in November.
Town’s only FA Cup meeting with the Devon side was at Portman Road in the second round in December 1951 when the Blues won 4-0.
The Blues and Forest first faced one another in the competition in 1980/81 in the quarter-finals, the first tie at the City Ground ending 3-3 before Town won the replay at Portman Road 1-0.
They’ve met twice since then in third round ties at the City Ground in 1989 and 1997, the Midlanders winning both games 3-0.
The Blues, who were the last team out of the hat, secured their place in the last 16 for the first time since 2007 by beating Championship Coventry City 4-1 at the CBS Arena on Saturday.
Town were most recently in the fifth round in February 2007 when they were beaten 1-0 at Watford in controversial circumstances, midfielder George O’Callaghan having been red-carded just before half-time, a dismissal which was subsequently overturned.
Fifth round ties will take place over the weekend of Saturday 1st March.
FA Cup Fifth Round Draw
1. Preston North End v Burnley
2. Aston Villa v Cardiff City
3. Doncaster Rovers or Crystal Palace v Millwall
4. Manchester United v Fulham
5. Newcastle United v Brighton & Hove Albion
6. AFC Bournemouth v Wolverhampton Wanderers
7. Manchester City v Plymouth Argyle
8. Exeter City or Nottingham Forest v Ipswich Town