A bad speed sensor could even affect idle engine operation and might even cause rough idling due to bad information sent to the ECU.