There are no official "Tokyo Drift" cheat codes for Grand Theft Auto: San Andreas on PS2. The game does not include specific drifting mechanics or cheats that replicate the movie's style.
While you can't enable a drift mode via cheat, you can drift using standard driving techniques:
Note: For true drifting physics, consider the PC version with mods like SA Drift Mod or Realistic Driving Mod.