You can't get SSJ5 Goku in Budokai Tenkaichi 3 normally, because the Super Saiyan 5 form was never officially created by Akira Toriyama, the creator of Dragon Ball. It's a fan concept, not canon.
That said, if you really want to fight an SSJ5 Goku, you could look for a fan-made mod. Just note it's a mod for Budokai 3 (not Budokai Tenkaichi 3) called "Dragon Ball AF." Keep in mind mods like that are unofficial and can affect game stability, so download only from trusted sources.