A shooting involving U.S. Immigration and Customs Enforcement (ICE) agents led to the closure of Interstate 5 freeway ramps in Stanislaus County, officials said.