Wilson joins a cast that includes Paul Rudd, Michael Douglas and Michael Pena. Edgar Wright will direct the Marvel Studios film.
No timeline has been announced for the project.
Wilson is a Tony nominee for his performances in The Full Monty and Oklahoma! He will also be seen in the upcoming Carnegie Hall staging of Guys and Dolls.