It's been going on for 4 months? Sounds more like you broke or cracked a rib or pulled a muscle. Rib injuries can take a long time to heal and pleurisy is usually caused by an infection. If you have been walking around with an infection or pleurisy for 4 months somethings not right.

Any other symptoms?