The tie will take place the weekend of January 26th at Huish Park.
Darren Way’s men are the lowest ranked side left in the competition and have defeated Port Vale and Sky Bet League One sides Southend United and Bradford City to reach this stage.
It is just the fourth time the club have been in round four in their history, the last occasion coming back in 2014.
The Glovers faced the Red Devils at home back in 2015, where goals from Ander Herrera and Angel di Maria were enough for the visitors to progress.
Ytfc.net will be the first place for ticket information when it is available. Prices, sales procedure and a date will be confirmed in due course.