Nassau County police say Angel Bermudez of Hempstead was charged with two counts of attempted murder and criminal use of a firearm.
He was to be arraigned Friday. It wasn't immediately clear if he had a lawyer.
Bermudez is accused of firing several shot at two teens, ages 16 and 18, on Wednesday evening. Police say they found the victims lying on South Main Street in Freeport after responding to a 911 call of shots fired.
They were taken to a hospital with non-life-threatening injuries.
Get Eyewitness News Delivered