Unifor said on Sunday that its members at Canadian National Railway haveĀ ratifiedĀ a new four-year collective agreement, averting a potential strike action.