Told to prepare for their baby’s death, a miracle saved his life