MEXICO CITY—The Mexican government suspended indefinitely its planned teacher evaluations that were a cornerstone of the country’s education overhaul, in a decision ahead of midterm elections that dissident teacher groups threatened to boycott.

The evaluations for teachers had been scheduled for coming months.

The Education Ministry didn’t...