The 'Silicon Valley' star and Oscar-nominated writer will star in an episode of the Jordan Peele-produced reboot.

Kumail Nanjiani is crossing over into The Twilight Zone, signing on to star in an episode of the Jordan Peele-led reboot on CBS All Access.

The Silicon Valley star and Oscar-nominated co-writer of The Big Sick is the third actor to join the series, following Sanaa Lathan and Adam Scott. Executive producer Peele will introduce and narrate each episode, just like series creator Rod Serling.

Details about Nanjiani's role are being kept under wraps. The episode is being written by Alex Rubens, who worked with Peele on Key and Peele and The Last OG.

The original Twilight Zone ran from 1959-64 on CBS. The show has been redone twice before, on CBS and in syndication from 1985-89 and on UPN in 2002-03. Four classic segments from the original were also remade as a 1983 feature film.

All episodes of the 1959-64 series stream on CBS All Access. The new version is set for a 2019 premiere.

Peele is executive producing The Twilight Zone via his Monkeypaw Productions. Simon Kinberg (via his Genre Films), Win Rosenfeld, Audrey Chon, Carol Serling, Rick Berg and Greg Yaitanes are also executive producing the CBS Studios series.