Well, the shaking was probably from the u-joints holding the drive-shaft. Drive-shaft have come out from under trucks before, but usually, there will be some damage. Check the back-end of the transmission for damage (cracked metal, etc).
The vibration probably caused some electrical connections to shake loose. Check the battery terminals.
The vibration probably caused some electrical connections to shake loose. Check the battery terminals.