A three-year-old boy accidentally shot and killed himself after finding a loaded gun on a bedroom closet floor.