The US presidential election result was contrary to all expectations.
The result of the US presidential election went against all expectations.
「米大統領選」は presidential election と言います。
「大方の予想を裏切った」は、was contrary to all expectationやwent against all expectationsなどと言えます。
contrary と against はどちらも「反対の」なので、expectations(予想、期待)と反対だった、という文になっています。