A man accused of burying a person who fatally overdosed at a Newark home last year has been sentenced to prison.