Peter Sarsgaard will star in a Classic Stage Company production of Hamlet.