If you bought a cheap made in China speed sensor then yes you could have bought a defective one....
Also as I believe that most problems start at the batteries how old are they, are they watered, are the terminals clean and snug? What is your voltage after charging and while in use?
Contact David Hicks here
http://www.revolutiongolfcars.com/ he will sell you genuine quality Club Car parts...