How Do You Get Rayquaza in Super Smash Bros. Brawl?

Rayquaza is not a playable character in Brawl. It appears as a Poké Ball item, one of the standard pickups that can drop during a match.

Which Pokémon emerges from a Poké Ball is random, so there is no way to guarantee Rayquaza specifically. You throw the ball and take your chances along with everyone else on the stage.

If you just want to see the summon reliably, training mode lets you spawn items repeatedly without an opponent interfering.