Tyler man sentenced to 40 yrs in prison for injury to a child