A freight train carrying hazardous materials derailed in Arizona, U.S. on Wednesday evening, The New York Times has reported.