Do a good test drive. Make sure no Check engine lights on, or the AT Temp light flashing, which is like a check engine light for the Auto Trans. Go over bumps and drive in various driving conditions, check for the car feeling loose or jumping around the suspension repairs are expensive. Uneven tire wear can indicate suspension, steering, and alignment issues. Drive slowly in a tight circle to check the AWD. It should be smooth with no jumping around.
Take a look at the general condition and check if regular maintenance has been done. Is the oil relatively clean, is the trans fluid been clean, is the coolant relatively clean in the overflow tank, is the engine leaking a lot, has regular maintenance been performed? These engines will last 300K if taken care of, but not if they are abused. Have the headgaskets been replaced by someone who knows what they're doing? In general the originals last about 150K, but that does vary quite a bit. Has it ever been overheated for an extended period of time? This is a little less common on the Phase 2 2.5 engines but I consider these engines throw aways if they have been severely overheated.
As previously mentioned the aftermarket CV Axles generally do not run well, the ones with the green housing are the originals and run much better and don't cause vibration at idle.