Trading accounts for Ty.com or Ty Girlz — swapping a Beanie Babies account for a Ty Girlz code, for instance — is risky and generally discouraged. Sharing logins can violate the sites' terms, and you may lose access to an account you paid for or built up.
If you have forgotten a password, the safe route is to use the site's official password-recovery option rather than trading with strangers. And if you get a new Ty Girlz code, simply use it to create your own fresh account.