A 25-year-old upstate New York man has admitted taking part in the killing of another man in April and is expected to testify against a co-defendant.