Shanesha Taylor of Phoenix, who left her two children in a hot car while she attended a job interview, has regained custody of them.
Taylor was barred from seeing her two young sons after her March 20 arrest and only had visitation rights before Thursday's court decision.
Bystanders reported seeing Taylor's children alone in her car and authorities said the temperature inside the car was more than 100 degrees.
Taylor told investigators that she didn't have anyone to watch her 2-year-old and 8-month-old sons.