It almost sounds like you may have gotten a
concussion besides injuring your shoulder. Because of the headaches, difficultly with memory, trouble concentrating, nausea, feeling "fuzzy," sleep changes, visual changes, I suggest you get checked out by a doctor, preferably a neurologist if you can...otherwise your PCP. These symptoms are consistent with a concussion and the fact that you've had some in the past makes this cumulative (adds insult to injury).