DETROIT — After facing strong opposition early on, a proposed contract at Ford with the United Automobile Workers union appeared nearly certain to be ratified after receiving a wave of support over the weekend.

As of Sunday evening, 62 percent of votes cast were in favor of the four-year deal, a reversal from Friday morning, when just 49 percent supported it. With only a handful of plants yet to weigh in on the contract, it was passing by a margin of 5,800 votes, according to an update released through the union’s official Facebook page dedicated to negotiations with Ford.

The lack of a wage increase was responsible for many of the “no” votes among workers at Ford, the only one of the Detroit carmakers that did not file for bankruptcy protection in 2009 or accept a federal bailout. Wages have been frozen since 2003.

General Motors and Chrysler workers gave up their right to strike under the terms of the government loans those companies received.