Two men were convicted in connection with a deadly New Year's Day shooting in 2020 at the Ramada Inn in Sacramento, officials said Friday.