Iron Man director Jon Favreau has signed on to direct one of the final episodes of hit U.S. Tv comedy The Office.