Kearney man charged in connection to shooting takes plea deal