I bought a tested used replacement off ebay, looked to be in excellent shape, wasn't much to it, and it had a bleeder valve on it, IIRC , so it was easy
I ended up replacing all brake lines and fuel lines, gas tank, sending unit, fuel pump, etc - even the spare tire carrier assembly, just because I had the bed off and I didn't want to touch it again anytime soon