The pedal switch looks to be the very same switch/sensor that is used as a throttle position sensor on a number of vehicles. Just an observation, but I think it's a common part. Looks like a Delphi design.
LM
Dealer's tech that dropped off the switch said it was a common part on Massey tractors. Said he thinks it is in several places on my tractor. I don't know, but the new switch seems to be working.