If you really want to know what is going on inside the engine and trans you will need to take oil samples and send them out for analysis. Sure you can pull the dip stick and look at fluid levels but the only way to really know with any degree of certainty what is going on inside the engine you have to analyze the oil.
The rest you have to check yourself... Get under the truck and pull the fill plug on the rear diff and stick your finger inside, check the color of the coolant if they did all the work they say they did it should be very orangey pink like new fluid. Get underneath and look how the truck has been taken care of and check for leaks on the rear main seal, axel/driveshaft input leaks these leaks usually make a big mess all over the diff housing, feel if the driveshaft is loose, brakes and discs look ok or grooved/worn out, and general look at the drivetrain.
Drive it and listen turn off the AC and radio and pay attention to all the sounds you can hear any vibrations. Let go of the steering wheel once cruising and see what happens. Turn everything on and use all the buttons. Look at all the seams where doors, fender, body panels, bed, tailgate all line up and look for odd gaping or spacing, look for over spray bondo work that was not sanded properly, and the list can go on for awhile of things you can check visually or without opening up something.
Hint on trucks sometimes when the bed has been replaced the painters do not 100% repaint the whole bed look for a different color in hard to reach spots on the bed to see if it has been replaced. It is very common when these are in a wreck that insurance pays for a replacement bed from a wrecked truck because they are OEM and usually fit exceptionally better than any other options.