i had a 98 that did the same. if it's done any offroading, it may have shorted out a wire under the truck. it could be grounding out on the frame. get it to a mech. or just look yourself for any loose wires