The U.S. Marshals Task Force had been conducting an investigation in Charlotte, North Carolina, when a suspect opened fire, police said.