The shooting in Chester happened at about 6:15 p.m. at 7th and Fulton streets, outside the Range memorial Church of God in Christ.
The victim was shot in the chest and rushed to Crozer-Chester Medical Center.
The suspect in police custody was caught near 13th and Clover streets.
Investigators are still trying to pin down a motive.