Is this a relation between ovarian stimulation and breast cancer? As I have history of breast cancer in my family and I have to take stimulaters

Yes. There is a relationship between hormone replacement therapy and breast cancer. Many of the breast cancers that are found are stimulated by estrogen and progesterone. You should make your primary doctor aware of your family history and ask if there are any other options regarding the stimulaters.
Infertility. There is no direct correlation between ovarian stimulation for infertility and risk for breast cancer.