López Obrador was a candidate for the third time in the 2018 Mexican general election , representing Juntos Haremos Historia , a coalition of the left-wing Labor Party , right-wing Social Encounter Party , and National Regeneration Movement .