dimed lights and corrosion

ok nw problem now te car overcharges alot on high rpm or accelerating down the street and at idle its undercharging like it wants to shut off and lights are so dim.. any idea i have replaced the v regulater and my battery ground cable. the battery was tested and its good and the alenator is good..