It was the milky way or the highway, according to a breastfeeding mom furious with her doula for allegedly forcing formula on her newborn.

Lynn Wojton preferred nursing her infant daughter, believing that was the healthiest approach.

But baby caretaker Marcia Chase-Marshall allegedly sneaked the child formula while Wojton slept because she was tired and didn’t want to assist the first-time mom with the longer process of breastfeeding, court papers allege.

The Union Square mom breastfed her daughter Wilder on the first two nights after returning home with the child from Mount Sinai Hospital in September, according to Wojton’s suit in Manhattan Supreme Court.

Chase-Marshall slept in the same room as Wilder and would wake up Wojton, a registered nurse, whenever the baby needed milk, the suit says.

But after the caretaker didn’t wake up Wojton on the third night, Chase-Marshall allegedly ’fessed up to feeding the baby formula, papers claim.

“I was very upset,” Wojton, 37, told The Post. “This is not what I wanted — this is not what I want — for my baby.

“I cried for an hour, honestly.”

Chase-Marshall initially said she’d defied Wojton’s instructions because she thought formula was best for the baby, the mother claims.

But she then admitted she gave the girl formula instead because it was less work and she wanted extra sleep, according to the suit.

“I have nothing to say,” Chase-Marshall told The Post in a phone call before hanging up.

Wojton, who paid the doula $4,200, says Chase-Marshall bolted after the confrontation.

“Your instincts do kick in,” Wojton said. “It was the last straw, the way she was behaving and the way she was speaking to me.”

She said she had faced off with Chase-Marshall on everything from changing Wilder’s diapers to bathing the baby.

“If I didn’t change the diaper the way she thought was best, she would criticize me the whole time,” Wojton said. “It makes you second-guess yourself. You’re a new mother and this is all very new.”

“Lynn obviously didn’t want to cross a stranger who had direct access to her baby, to her home and belongings at such an important and potentially volatile time,” said her lawyer Brett Gallaway.

Wojton, who runs her own cosmetic nursing practice, says she found a new nanny and that she and her daughter are doing fine. Wilder’s six-month birthday was Saturday.

“I’m in a good place now, but I still get upset,” Wojton said.

She’s seeking at least $10,000 in damages.