switching my nine-month-old over to formula cold turkey


so my 9 month old son has 6 teeth and it's not fun breastfeeding anymore. plus I also think my milk supply is dwindling. also I'm just done I want my body back. I spoke with a nurse and they told me that I could go straight to formula and that my son would eventually take it he wouldn't starve himself. I can pump for half hour and maybe get 2 ounces. I just don't know how long I should go for with him not taking the bottle. He does eat three meals a day and loves food so I know he's not starving but I'm worried he's not getting some milk or formula nutrients. Can someone help