Ok, we're getting somewhere, I replaced the wire harness from the sensor to the engine bay with the new one and the plug just fell out in the engine bay easily.
The truck then cycled the suspension and is now stuck in Low and will just flash the selected height indefinitely.
I had two codes...