The tie will be played at Valley Parade on Wednesday August 25 with a 7.45 kick-off.
County were relegated from Division Two last season, finishing second bottom with only 10 league wins.
The Bantams crashed out of the knock-out competition at the first hurdle just over 12 months ago when Darlington beat them in a penalty shoot-out.