Insecurities PLEASE HELP

Me and my boyfriend have known each other for years grew up together. His relationship before me had him at his worst and lowest, She cheated belittled him , took his money and just used his love and kindness for weakness. Set him up had her baby daddy and his homies tried to kill him. Did I mention that my ex who is still obsessed with me after a whole year of not talking to him he shoots at my boyfriend Now y'all know that didn't help Well we've been together for 7months and for the first 5 months it was everything, then something happened causing him to change now he treats me like he should have treated her gets made says hurtful comments and goes straight for the kill other times hes so sweet and loves on me. Then when I cry it's get out Your Feelings I have my own and so Does he we've talked about moving in but I don't know if I can take it anymore I deserve better but I know he still has a good heart. should I walk away? or stay?