Judge sentences former group home worker to 3 years in prison