The former Norway international retired in August last year due to injury problems and is now on the club's coaching staff.
"It will be a very emotional day for me, to play one last time at Old Trafford in front of our amazing fans.
"I am going to savour every moment and I hope the fans and Manchester United can also share in my special day."
"It also gives the fans the opportunity to show their admiration and appreciation for such a well loved player. It will be a fantastic day for everyone."
Chief executive David Gill added: "Ole is one of Manchester United's true professionals.
"We look forward to hosting the first pre-season game at Old Trafford in honour of Ole's illustrious career."