The shooting happened about 5:45pm Sunday in Tampa.
In a news release, police said Ashton Gooding found the weapon and discharged it. He was severely injured when police arrived and died shortly after arriving at Tampa General Hospital.
The state attorney's office is reviewing the case to determine whether charges should be brought.
No further details were immediately available.