You cannot get Shadow in Super Smash Bros. Brawl. Shadow is a character from the Sonic the Hedgehog series and does not appear in Brawl.
Shadow first became a playable fighter in Super Smash Bros. for Nintendo 3DS / Wii U (the next installment). To play as Shadow, you need that game or a later entry in the series.