Miguel Herrera was hired as the new Mexico coach on Friday for two playoff games against New Zealand, with the winning team advancing to next year's World Cup in Brazil.

Herrera replaces Victor Manuel Vucetich, who coached only two matches. The last was a 2-1 loss on Tuesday against Costa Rica.

Herrera is Mexico's fourth coach in just under two months as the team struggles to reach its sixth straight World Cup.

Mexican federation officials said they would evaluate after the two matches to decide if Herrera will continue.

Mexico was lucky to reach the playoff. Panama missed out when it lost to the United States 3-2 on Tuesday after two stoppage-time goals.