Man attempts to shoot his niece