A majority of UAW members working for General Motors have voted to ratify a new collective bargaining agreement with the automaker.