A man was injured after a drive-by shooting late Wednesday afternoon, Delray Beach police said.