Open your Shticker Book, click the picture with the switch on it, then go up to the bookmarks and choose Enter Code.
That is the path: the Shticker Book is your hub for options, the switch icon holds the settings, and the code entry sits with the bookmarks near the top. Type the code carefully — they are case-sensitive and easy to mistype on a first attempt.
Worth knowing that Toontown has since closed, so this applies to the original game only. Private server projects exist that reuse the same interface, which is why the question still comes up.