green wire is positive, black is ground.
be sure to check the voltage with the throttlebody closed first, then move the throttlebody blade to WOT and watch the voltage as you do this. It should slowly rise, if it jumps around you probably have a dead spot and need to replace the TPS