im thinking you are talking about the parkign brake light... ?
if so then something is wrong with your Hydro boos system. thats the most likely cause anyway. try spinning the tires on wet pavement some time, i mean REALLY get them going. the light for brakes should come on and extinguish as soon as you tap the brake pedal. this is because the booster is working off the power steering pump and building pressure.
the truck senses the rear wheels are moving and the fronts are not or not moving near as fast as the rears. it thinks something is wrong. when you tap the pedal it will be FIRM as it could EVER be. then everything will return to normal. or should anyway.
the code thrown... i am assuming it is a "P" code and if so is engine related. i doubt they have anything to do with each other.