also if you have been giving a rich 02 reading that can also be heading towards map sensor. if it thinks it doesn't see enough vacuum it will start running rich.
check the vacuum line that goes from the engine to the map sensor
Vehicle speed sensor will prob be the three wires on the speed sensor, not uncommon for them to crack and break and short out, giving you a code.