MIAMI (AP) _ Drug agents raided a suburban house after finding 400 pounds of cocaine in cars leaving the building, sparking a shootout that left one suspect dead and an FBI agent slightly wounded, police said today.

After trying for more than five hours to negotiate with a man believed holed up inside the suburban home, Metro-Dade police and FBI agents moved inside this morning and found the man dead.

Police initially said the Wednesday evening shootout involved an arms deal, but spokesman Don Blocker said today that was incorrect, that the incident involved drugs.

The house had been under surveillance before the shooting.

Early Wednesday evening, three men who left the home in one car were arrested when they started unloading 286 pounds of cocaine at another location. Later, a fourth man in another car was stopped and 100 pounds of cocaine was found.

The agents then obtained a search warrant and tried to enter the house, said Metro-Dade spokeswoman Myriam Royle. Shots were fired and an FBI agent was grazed by a bullet on his right side, she said.

The agent, whose name was not released, was treated and released at Jackson Memorial Hospital, said FBI spokesman Paul Miller.

After the agent was shot, a Metro-Dade officer who was stationed at the back of the house shot at a man who tried to flee. The man, armed with an automatic weapon, fled back inside the house.

Police cordoned off a 20-block area, made repeated attempts to talk to anyone inside the house and lobbed tear gas shells inside without response, police said.

Five hours after the shooting, officers moved inside and found the man dead. His name was not immediately released.

The four men arrested on cocaine trafficking charges were Rene Vasquez, 42, Luis Antonio Sastre, 69, Antonio Sastre, 28, and Bernardo Maria Ahumada, 21.