It's probably not the pedal. 6.0s have actually 3 different circuits in the pedal that report to PCM. The PCM knows where they all should be. If one dies, it will throw a code. If 2 die it will throw another code, which will then turn cel on and almost always revert the truck to idle and kill...