Man charged in apartment shooting