Authorities identified the slain deputy U.S. marshal as Drew Hanson, whom officials described as a devoted husband, father and son.
"Tragically, the defendant's alleged actions claimed the life of a dedicated law enforcement officer who was simply doing his duty," Acting U.S. Attorney General Todd Blanche said in a statement. "The alleged perpetrator is now in custody and will be held accountable to the fullest extent of the law."
According to officials, the shooting occurred July 13, after members of the U.S. Marshals Service and the Rapides Parish Sheriff's Office located Frazier at his residence and obtained a search warrant for the property.
According to the federal criminal complaint, Frazier had failed to appear in state court to face trial on a charge of sexual battery of a person with infirmities.
After announcing their presence, law enforcement officers forced entry into the home, authorities said.
Frazier allegedly barricaded himself inside a bedroom and opened fire on the officers, striking Hanson.
Following a standoff inside the bedroom, Frazier was taken into custody.
Hanson later died from the gunshot wounds he sustained during the exchange of gunfire.