Welcome to MR50. If you turn the key to start, does it make a clicking sound? If you do the same with the headlights on, do they go out when you try starting it. If so, check and recharge the battery. If it then starts, test the alternator. It may have failed which drained the battery until the truck sputtered and quit.