tps problems any suggestions?

just bought a 88 lx 5.0,i realized the idle was about 1500 rpm when i lifted the hood to look i noticed tih tps was'nt hooked up right it was sitting loosly on top of the throttle body when i try hooking it up the right way it revs to about 4 grand any suggestions (tps is brand new).thanks:shrug:
 
With the key in the on position, without running the engine, probe the green wire with a volt meter grounding out the other side. Set to .99-.98. You might need to slot the holes slightly with a drill to set it correctly. When desired voltage is reached tighten down the screws securly.