He’ll play a reverend who is a father figure and role model to the young hip-hop mayor on the new ABC comedy.