The actor, best known for providing the voice of Homer Simpson on The Simpsons, will appear in the third episode of the show's fourth season, according to New York Magazine.
Castellaneta will play a public radio talkshow host in the instalment, which is expected to air in October.
In addition to voicing other Simpsons characters, including Barney Gumble and Krusty the Klown, Castellaneta has also appeared in episodes of Desperate Housewives, Bones, How I Met Your Mother and Castle.
Patricia Clarkson will also appear in the fourth season of Parks and Recreation as Ron Swanson (Nick Offerman)'s ex-wife Tammy 1.
Parks and Recreation will return to NBC on September 22.
> Parks and Recreation Nick Offerman 'wooed' Patricia Clarkson to show
Watch a clip from Parks and Recreation below: