The most civilian victims were in Afghanistan, with 108 deaths and 75 injured, the Pentagon said.
For the second time since it was activated in 2008, U.S. Africa Command is admitting it killed civilians in an airstrike.
The shoulder insignia is authorized for soldiers who have been "deployed, temporarily stationed or permanently assigned."
Both the U.S. Africa Command and Somalia’s government said the airstrike killed a member of the al-Qaida-linked al-Shabab.
Mohamed Abdi Jama was sentenced to life in prison in 2016 for piracy.
The bomb was detonated at a security checkpoint during the morning rush hour.
The U.S. military in a statement confirms the strike and says the al-Shabab member had direct ties to al-Qaida.
James McMahon served 16 years in the Army's 75th Ranger Regiment and then later as a member of the elite Delta Force.
A U.S. service member was injured in a pair of targeted attacks by a terror group in Somalia this week.
Somalia's Islamic extremist rebels, al-Shabab, have claimed the responsibility for the attack.