A Gary man avoided prison Wednesday after he left a loaded gun out, then went to sleep. His cousin’s son, 5, found it and fatally shot himself in the head.