Man charged in deadly shooting of man, woman, child sentenced to life in prison