The game against Steve Bruce's Premier League outfit will take place at London Road on Tuesday, 4th August with a 7.45pm kick-off time.
'I have spoken to Steve Bruce and he has told me that he will bring the Sunderland first team to London Road and I am sure that will be the perfect test before the season opens at Derby County on Saturday, 8th August," director of football Barry Fry told the club's official website.
"Sunderland are a massive club with a huge fan base and I am sure they will bring with them a large away following."
Pre-Season Schedule:
Tuesday, 14th July v St Albans (a)
Saturday, 18th July v Aston Villa (h)
Tuesday, 21st July v Spurs (h)
Saturday, 25th July v Fulham (h)
Tuesday, 28th July v Stevenage (a)
Saturday, 1st August v Oxford (a)
Tuesday, 4th August v Sunderland (h)