if your truck is cutting rpms when you are on the breaks,check your alt voltage and turn a bunch of stuff on in your truck,then turn your lights on and see if the lights dim ....idk its what id start with.... good luck
also make sure all your plugs under the hood are good and tight .wiggle all the wires,some times giving a toyota a good ass kickin helps !!