If your truck originally had a generator it will not have the plug shown in that diagram and can't be wired that way.
This could be confusing to poster. I have said several times to wire it that way, ignore the connector (plug), but copy the circuit.