Oscar-winning actor Tom Hanks is set to play a small role in writer-director Wes Anderson’s next film.