The Happy Endings alum will play a key co-starring role on the HBO Max comedy pilot starring Jessica Rothe in the title role and Michael McKean as her father.