Town will host Forest Green Rovers in the third round of the Checkatrade Trophy.
The Glovers reached the quarter-finals of the competition last season, and will look to replicate that feat when the Gloucestershire outfit visit Huish Park the week commencing January 8th 2018.
This term, Darren Way's finished top of Group D with an unbeaten record, before dispatching League One outfit AFC Wimbledon 2-0 in round two.
"I feel it's a fantastic draw and gives us another opportunity in front of our home supporters to get one step closer to Wembley," Way told YTFC.net.
Ticket information and a confirmed date will be released in due course.