Electrically, the sensors are pretty simple. Essentially they are a potentiometer (variable resistor) with a fixed resistor or two. The output is simply a voltage that varies according to the pedal position.
To make things safer, there is a second potentiometer that provides a second output, but to prevent one from simply bridging the two outputs together to overcome a faulty potentiometer, the manufacturer makes it a bit more difficult by making the two outputs have different scales. I suspect, from the thread by
@Jolls that the 5.7Lt V8 is using a 1V-4V output on one sensor and a ‘half scale’ output for the secondary sensor (0.5 - 2V). it seems that this redundancy strategy (a full-scale output with a half-scale output) is very common and used by many different bands of cars and sensor makers. For example, Hella (another manufacturer) uses a very similar system -
https://www.allhella.ru/upload/msent.pdf2html/31d/Accelerator Pedals Truck.pdf
On the face of it, electrically, there will be many different sensors that essentially work the same (electrically). The big hurdle is to find something that mechanically fits, and the other issue is that the connector might be different, but rewIring a connector isn’t that bigger deal.
I can think of a ‘quick and dirty fix’ that might get a fault accelerator pedal working for a short time. Open up the sensor and see if the two wiper arms (the metal bits on the white arm) can be slightly repositioned so that they wipe on a fresh part of the resistive element. They wouldn’t need to be moved by much, even a few thou closer or further from the pivot would/could get it working. This is just a ‘patch’ and not a long term fix.