Tracy Morgan’s plan to star in an FX comedy series is back on track now that writer-actor Jordan Peele and John Carcieri have signed on to write a pilot for the former “30 Rock” star.

Morgan’s life was up-ended 18 months ago by a car crash that came two months after he signed a straight-to-series pact with FX Networks.

The new project will see Morgan playing a career criminal who struggles to reintegrate into society after serving a 15-year prison sentence.

Peele and Carcieri will write the pilot and exec produce with Eric Tannenbaum and Joel Zadak, an alum of Peele’s Comedy Central sketch series “Key and Peele.”

“What an unbeatable combination – Tracy Morgan and Jordan Peele – two exceptional comics joining forces with a great team of writers and producers to create and produce this pilot for FX Networks,” said Nick Grad, president of original programming for FX Networks and FX Prods. “We’ve been committed to Tracy from the start and are thrilled that Jordan, John, Eric and Joel are joining him in developing this new project.”

Morgan’s deal with the cabler in 2014 called for him to work with the “It’s Always Sunny in Philadelphia” gang — Charlie Day, Glenn Howerton, and Rob McElhenney — on an unspecified concept for a comedy to air on FXX. It’s unclear whether the new pilot will be bound for FXX or the mothership FX.

Morgan suffered brain injuries and broken bones after his SUV was rear-ended on the New Jersey turnpike in June 2014. The crash killed another passenger in the car, Morgan’s longtime friend and fellow comedian James McNair.

The severity of his injuries forced the former “30 Rock” star to endure a long recuperation period. He began a slow return to the public eye last summer with emotional appearances on the Primetime Emmy Awards telecast and a hosting gig on “Saturday Night Live,” his alma mater.

Morgan at present is headlining a national comedy tour dubbed “Picking Up the Pieces” that is set to run through May. He also just wrapped work on the Weinstein Co.’s biopic “Richard Pryor: Is It Something I Said?,” in which he plays comedian Redd Foxx opposite Mike Epps in the title role.

Peele is coming off a five-season run on the much-praised sketch comedy “Key and Peele.” He was in the ensemble of the 2014 edition of FX’s “Fargo,” and he’s recently had recurring roles on CBS’ “Life in Pieces,” and Netflix’s “Wet Hot American Summer: First Day of Camp,” among other projects.

Carcieri’s credits include HBO’s “Eastbound & Down” and “Vice Principles.”