I've heard code 5 is the o2 sensor but i've never confirmed it myself.
The tps adjusts the fuel not so much the speed sensor, other than the annoying light i've never noticed a difference by having it connected or not.. Rumours are the timing advance is retarded without it connected.