Ottawa police have arrested a man they said shot a 4-year-old boy while doing a demonstration with a gun he thought wasn't loaded.