The South Americans took the lead in the first half but an Admir Mehmedi header levelled the score before his fellow substitute secured the win deep into injury time.
A pair of inspired substitutions from Ottmar Hitzfeld earned
Switzerland a 2-1 comeback World Cup win over Ecuador in Group E.
The in-form Enner Valencia scored his fifth goal in the past five international appearances to give the South Americans the lead after 22 minutes but Admir Mehmedi levelled three minutes after coming on as a half-time substitute.
Both those goals came about as a result of poor set-peice marking, but Switzerland took the points in dramatic fashion courtesy of a clinical counter-attack deep into injury time.
Mehmedi’s fellow replacement Haris Seferovic, who last netted for his club, Real Sociedad, in November, was on hand to convert Ricardo Rodriguez's low cross to spark wild celebrations from the Swiss.
Ecuador made a high-tempo start to the match, launching attack after attack during the opening minutes but the Switzerland defence stood firm.
Their lone striker, Josip Drmic, had a sight of goal in the 12th minute, only for Jorge Guagua to make a timely challenge as the Europeans found their feet.
Granit Xhaka and Xherdan Shaqiri tried their luck from outside the box - the latter's strike grasped at the second attempt by goalkeeper Alexander Dominguez, who then spilt a 19th-minute shot from full-back Rodriguez behind.
And so it was slightly against the run of play when Valencia headed home Walter Ayovi's pinpoint delivery as Switzerland's customary set-piece solidity deserted them.
Valencia has played a more forward role in the Ecuador team since the death of Christian Benitez last July and, as part of their celebrations, the Ecuador players pointed to the sky in tribute to their late team-mate.
Dominguez showed more assured handling when Valon Behrami headed Shaqiri's corner goalwards and the Ecuador goalkeeper then got a vital touch to send Gokhan Inler's low 36th-minute drive around the post.
Source: goal.com
BDST: 0413 HRS, June 16, 2014