The drive by wire system requires input from the tach sensor inside the distributor to keep the throttle system working. If you lose that signal, you lose throttle action.
These trucks are a wiring nightmare- my guess is that you have a partially broken wire inside it's casing.
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.