The In Living Color star will appear on the January 9 episode of the TV Land sitcom as the ex-boyfriend of Judi (Tichina Arnold), reports ET Online.
Wayans's guest starring role in Happily Divorced will mark his first television acting job since a cameo on brother Daman Wayans's My Wife and Kids in 2001.
He recently penned two episodes of a revived In Living Color, which are expected to air on Fox sometime in 2013.
Wayans has worked more often behind-the-scenes of film and television than as an actor in recent years, having directed Scary Movie and White Chicks.
Happily Divorced - which stars Fran Drescher - premieres its new season tonight (November 28) at 10.30/9.30c on TV Land.