The song playing during the dressing room dance in The Fresh Prince of Bel-Air Season 6, Episode 19 ("I, Stank Hole in One") is:
"Boom! Shake the Room" by DJ Jazzy Jeff & The Fresh Prince (Will Smith & Jeff Townes).
It's their own 1993 Grammy-winning hit (from Code Red), fitting the meta-moment where the cast dances to the star's real-life music.