Two men charged in connection to shooting