St. Petersburg police arrested Christopher Canfall on Wednesday.
According to an arrest report, Jermaine Cummings was trying to break up a fight early Sunday when he was shot.
Witnesses fled when the shooting happened, but police on Wednesday attributed Canfall's arrest to help from the community.
No additional information has been released.
Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.