Man shot, killed next to school