If your sensor has this JD number: al175214 you might find this usefull. Factory 6 pin John deere WAS
Some posts down 6145r is mentioned.
You can find a picture here:
https://tractorparts.bg/en/potentiometer-john-deere-5m-5r-5025-6m-6000-7000-series