Dan McGrath, a writer and producer who worked on “Saturday Night Live” and “King of the Hill” and won an Emmy for an episode of “The Simpsons,” has died, his sister announced Sunday. He was 61.