A two-year-old girl has been left critically injured after being shot during a dispute between two brothers.