The clash, to be held at The Northolme, will form an important part of the preparation for the Academy campaign, one that will include matches against senior opposition in the Papa Johns Trophy.
Gainsborough, a former Football League club, are currently in the Northern Premier Division and are coached by player-manager Neal Bishop.
The clubs' 20 competitive fixtures between 1896 and 1906 include our historic first fixture as Manchester United on 6 September 1902, following the change of name from Newton Heath. The Reds won that away game 1-0 at The Northolme, with Charlie Richards scoring the winner.