I've had two problem birds, different problems with both of them. Oddly enough they were both Black Shoulder cocks just like the one @DylansMom pictured above. The first one was trying to kill all the birds in the pen with him, so I put him outside to free range. After about two weeks of the **** guineas chasing him he left with the wild turkeys to never be seen again.
The other problem bird is still here and free ranging 365 with other cocks and no hens. He is good as gold most of the year eating peanuts from my hand. However when breeding season comes along he thinks that where I am is 'his' territory and will try to run me off. Just yesterday I was a couple hundred yards from the house fixing fence and he had to come along. We were well out of the area he normally occupies, yet he had to challenge me. After he flogged me once I had to give him the boot and he decided to go home. I am the third owner of this cock so I have no idea how he was brought up, but I think he was imprinted by his first owner. The guy I got him from had him for display at a pumpkin patch and he would regularly flog the help that was in charge of feeding him.
We see people trying to make little lovie dovies out of peafowl, and it can be done, it is better with hens, but cocks tend to lose their fear of us and when the hormones kick in they become little monsters. I wish I had the magic cure for you, but they are like kids, they all have different personalities and what works for me may not work for you.