Does running initial setup erase your account and gamerscore?

Yes, running the Initial Setup on your Xbox 360 reformats your hard drive, as well as sends a message to the Xbox 360 servers, instructing them to reset your account file.