start the truck with your foot on the brake pedal. when it starts does the pedal slightly drop. if it does then your first test passed. with the pedal dropping it means to me that it is functioning to an extent. that doesnt mean there couldnt be other issues with it.

Quote
the truck has new wheel cylinders, shoes, and master cylinder and everything was fine
define fine