A woman has denied murdering a baby in the Black Country five years ago.