Town will take on Championship outfit Aston Villa in Round One of the Carabao Cup at Huish Park.
With the fixture taking place the week commencing Monday 13th August, Steve Bruce's side will make the trip to Somerset for the first competitive meeting between the two clubs.
The Glovers will face second tier opposition for the second successive season, after narrowly losing 1-0 to Wolves at the same stage in 2017/18.
Manchester City won the competition last season, seeing off Arsenal 3-0 in the final at Wembley.
Ticket prices and information for the tie against the Villains will be announced in due course.