Breastfeeding

My son is 4 months and refuses to go to sleep unless I breastfeed him even if he's not hungry. It's like he uses me as a pacifier and refuses to take a real pacifier. Any suggestions on how to help him go to sleep without my boobs!