Man sentenced in explosion that injured 4-year-old son