Former Cagney & Lacey star Tyne Daly is heading back to Tv to play a stern teacher on hit comedy Modern Family.