An Amherst man pleaded guilty Thursday in federal court to stealing $584,884 from Jericho Road Ministries while working as a senior grants accountant for the nonprofit.