There is no password for it. The password system in Lost Planet 2 covers bonus character parts, and those parts are not obtainable from the in-game slot machine — so a code will not produce a gun sword.
Two routes actually work:
If you want the weapon without spending hours on it, the second route is the one to plan around — and it has the side benefit of levelling you for the harder online modes.