Navigating Distribution Shifts In Ml Through Causality And Foundation Models