Leah Remini will return to television in a new Fox pilot.
Remini will play Jean, a lesbian woman with conservative values.
The show follows Jean as she works to raise her two sons with her new wife and her ex-husband, who lives in her garage, in Middle America.
"It's Always Sunny in Philadelphia" co-creator Rob McElhenney and executive producer Rob Rosell will write the script and executive produce with Nick Frenkel, Charlie Day and Glenn Howerton.
Remini's role follows the end of her CBS series "Kevin Can Wait," which was canceled in May after two seasons.
The sitcom had reunited the actress with her "King of Queens" co-star Kevin James.