Man charged in shooting near Lima school