DETROIT — The UAW will focus negotiations on Ford Motor Co. after hourly members at General Motors ratified a four-year labor pact that includes significant wage gains and bonuses, ending a 40-day national strike that has idled plants in three countries.