The Reds will host the Swans at Old Trafford on Sunday 5 January, kick-off 16:30 GMT. The game will be shown live in the UK on BT Sport.
The tie will be the first between the two sides in the Cup. The pair also meet in the league six days later at Old Trafford.
More: United advent calendar