Oscar Isaac, the “Star Wars: The Force Awakens” actor who will next be seen on the bigscreen as the titular baddie in “X-Men: Apocalypse,” will play Hamlet in a 2017 stage production of the familiar Shakespeare tragedy.

Directed by Sam Gold, who won a Tony last spring for “Fun Home,” “Hamlet” is lined up for a run as part of the 2016-17 season at Theater for a New Audience, the longstanding Off Broadway company that opened a new Brooklyn venue in 2013 with Julie Taymor’s staging of “A Midsummer Night’s Dream.”

Before his screen career took off with roles in Coen brothers movie “Inside Llewyn Davis” and HBO miniseries “Show Me A Hero,” Isaac started out on stage. He played Romeo in a 2007 Shakespeare in the Park production of “Romeo and Juliet,” and he worked with Gold in a 2011 production of Zoe Kazan’s “We Live Here.”

Shakespeare’s “Pericles,” with Christian Camargo, is currently playing at TFANA’s Polonsky Shakespeare Center in Brooklyn, with productions of Ibsen’s “A Doll’s House” and Strindberg’s “The Father” on tap for later in the season. The company has been around since it was founded by artistic director Jeffrey Horowitz in 1979.

“Hamlet” will begin previews June 4, 2017 ahead of a June 22, 2017 opening.