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