I have to book a two-ticket airline itinerary to get from my home airport of TRI to MDZ (Mendoza, Argentina). I am flying Delta to/from SCL, then TAM SCL-MDZ-SCL (yes, it's 122 nautical miles each way, but five and a half hours by car over the Andes), so I must fly. I want to make sure I get my 10,000+ MQMs on Delta, so will book directly with Delta. TAM, I could care less about the 244 EQMs with AA.
Anyway, my question is how much time should I allow to arrive in SCL, go through customs and immigration, pick up my bag, then go to the TAM check-in, re-check my bag with TAM (if I re-check my bag, debating that), and return back through immigration and security?