A mother allegedly confessed to murdering her newborn child and abandoning her in a bag on the road more than 30 years after she committed the crime.