Unfortunately, you cannot play as Shadow in Sonic Advance 3. It simply is not possible within the game.
Shadow is not among the playable characters in this title, so you will need to choose from the characters the game does offer.