The Fresh Prince of Bel-Air
An episode of The Fresh Prince of Bel-Air featured a similar plot.