This photo shows where tthespeed sensor wire hooks into the GEM(Located behind the FM radio)
This photo shows the GEM (labeled by me, lol, it doesn't say that in your truck) as seen through the hole where the radio has been removed. You can see the tap connector on the GY/BK wire as well. This is the VSS connection for the overhead console. The wire you extend down from the console's GY/BK wire terminates like this. The GY/BK wire you want comes from the black connector at the front of the GEM (the connector closest to you as you look at it).
Group 5 is the speed sensor wire and many people don't have it hooked it up. It's was reported to be for wind chill which makes no sense since the console doesn't know if the sensor is wet or not. I finally found out what it does! It controls how increases in temperature are processed to keep the engine heat from causing artificial "spikes" in temperature. Basically, the console does not allow the temperature to increase (especially on hot days) unless it sees the truck in motion for a while to make sure the engine heat has been "blown away". If you don't hook up this wire, your console will appear to freeze its temperature display and refuse to show it's getting warmer outside when it is. It basically is run to the same area as the group 2 wires.
For the Temp sensor, you have to get one off an explorer at a junkyard, or from a ford dealer.
From N3ELZ's CarDomain