Jim Gaffigan Jim Gaffigan

Jim Gaffigan will guest-star in the Season 2 finale of Royal Pains, TVGuide.com has learned exclusively.

Check out photos from Royal Pains

The comedian/actor will play Pete Stambleck, a by-the-books park ranger who emerges from the woods one day with a massive personality change and no recollection of the evening before. Hank (Mark Feuerstein) must then figure out what happened to him.Gaffigan, who can be seen in the current Drew Barrymore-Justin Long movie Going the Distance, has recently appeared on Law & Order, My Boys and Flight of the Conchords.

Watch full episodes of Royal Pains

Royal Pains aired its summer finale last month and will return this winter with six new episodes to conclude its second season. An airdate has not yet been set for Gaffigan's episode.