Paul Scholes' testimonial will see Manchester United take on New York Cosmos, managed by Eric Cantona, on August 5th.
The former England midfielder announced his retirement after United's Champions League final defeat to Barcelona, and the club will have the opportunity to say goodbye to Scholes against a New York Cosmos side filled with some of the world's top players.
Scholes said: "This is going to be a big night for me and my family but one which I intend to enjoy and I will savour every moment," he said.
"I have spent my whole footballing life at Manchester United, so this will be an emotional farewell.
"This club is special in many ways but the fans are the best and I have always appreciated their support throughout my career. I hope they enjoy the night, especially seeing the Boss and Eric battling it out in front of the dug outs."
Sir Alex Ferguson added: "Paul’s retirement was typical of the man: low key, he was safe on holiday just so he could avoid any media interviews. However he won’t be able to hide away this time and it will be fantastic for the fans to be able to bid farewell to this exceptional footballer.
"The accolades he’s received have been well deserved but for me Paul is one of those players who turns up, plays his football and it is that natural ability that makes Paul unique and revered by many, including myself. It is sure to be a great night and a well deserved recognition for Paul."