The Dukes of Hazzard
The Haunting of J.D. Hogg (7x13)
:
Boss' great uncle Silas Hogg had recently died and left in him a bunch of money in his will to give to charity at his discretion. Knowing that Boss won't give the money to charity, The Dukes set up some gadgets and make it look like Silus is haunting him into giving the money to charity.