You didn't mention model #?
Can be bad coil...does it misfire. Are you clearing the codes. Wiring to module can be rotten as well....
Get truck up on blocks, running in gear , pinch wiring harness for breaks to see if any changes occur.
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.