A father says he is grateful that his 4-year-old son, who was shot in an attempted home invasion, is still alive