The Class Day speaker is a Yale tradition.
Graduation speakers typically don't speak at commencements. The major speech to seniors is instead given the previous day during Class Day festivities.
Yale spokesman Tom Conroy confirmed that students have invited Hanks and that he accepted.
Former President Bill Clinton was the speaker last year. Class Day this year is May 22.