James Pergerson, 32, is charged with failing to store a fiream to protect a minor.
The shooting happened Thursday inside a home on Glen Allen Road in Fayetteville.
It is unclear how the 2-year-old got the gun and shot herself. She is still hospitalized with a leg wound and other abraisions.