if truck has rear wheel abs, i would suspect the abs dump valve. located under truck on framerail. you can test master cylinder by taking lines loose at master cylinder and taking 2 small nails, like sheetrock nails, insert them into lines so that tha nail heads are facing master cylinder, when you tighten lines, the nails will block flow to the rest of truck and let you know if master cylinder is bypassing internaly if the pedal still is soft. it is an old scool trick that will rule out the master cylinder most times
_________________________
give a man a fish, he will eat for a day, teach a man to fish, he will sit in a boat and drink beer all day