Is there any herbal medicine to change one’s sex ?What does Ayurveda say about it?What is the history of sex change in india ?Can a man having changed sex to female conceive and give birth to a child? Can occult and tantra-mantra be used to change one’s sex ?

No.
WHAT?????????
WHERE DO YOU PEOPLE COME FROM????
THIS JOKE IS NOT FUNNY.
I have heard that if you eat enough carrots, your skin turns orange. I hope that helps.
There are classical reference about getting the desirable sex of the child in ayurveda, it is very well described in allthe major ayurvedic texts in the Shareera shtanam (ayurvedic anatomy)
in Ashtanga Hridayam AD800 it was been described in the chaptor Garbha vakrantheyam(embryology)
and accordingto the text this treatment should be done in the endo of the first month , but there was no supporting evidence or studies done ,
but it sounds very logical that , the sex charectors are developing in the end of the first month according to embryology, so i think ayurvedic treatments were indirectedly intended to fix the sexual charectors rather than getting the desirable sex for the child.
and the treatmens are targeting the head through the nostrills , i hope it could influance the endocraine centre ,