its basic toyota troubleshooting sequence, check ignition coils for operation, mostly this is caused by one or 2 cylinders misfiring due to bad ignition coils. Do not drive the truck with misfire as it can destroy the cat converter on the misifiring bank.
A well equipped technician can check for bad coil or even missing signal from ECU (highly unlikely but I have seen some cases like this)