Jose Mourinho will take charge of Manchester United for the first time on 16 July when they take on Wigan Athletic in a friendly, the Red Devils have announced.