Dario Marcus Aguilar fired six to eight shots during the attack at the Columbia Mall yesterday, killing two employees of a skateboard shop, Howard Country Police Chief Bill McMahon said.
Police are investigating whether the shooter, who was from the nearby town of College Park, Maryland, had any prior relationship with the victims.
"Once we can establish if there is any relationship or not, that will certainly help us to identify the next big question which is why this happened," McMahon told reporters.
Five injured shooting victims were also treated and released, Howard County General Hospital said yesterday. One had suffered a gunshot wound to a foot.
First responders were alerted to mid-morning gunfire Saturday at the mall, a favorite weekend spot for young families about 45 minutes outside downtown Washington, by an emergency police call indicating shots had been fired inside the two-story shopping center.