The deal calls for the network and studio to develop a show for the comedian to star in.