A deal with prosecutors would allow a Phoenix woman to avoid prosecution for leaving her two young sons alone in a hot car while she was at a job interview.

Maricopa County Attorney Bill Montgomery said Friday his office and 35-year-old Shanesha Taylor have an agreement under which he'll dismiss two felony child abuse charges against her if she meets several conditions.

Those include completing parenting and substance abuse treatment programs and establishing education and child care trust funds for her children.

Authorities arrested Taylor after bystanders in Scottsdale reported seeing her two sons alone in her car in March. Taylor told police that she wasn't able to find a baby-sitter.

Montgomery calls the agreement a "just resolution" that holds Taylor accountable while serving the best interests of her family.

More From Newstalk KGVO 1290 AM & 98.3 FM