A bad ground. Dim lights and intermittent fan speed is almost 100% a bad grouind. Run a lead from a DVOM between the negative battery post and the body of the car. On the Ohm scale there should be no change or just a couple of ohms difference. If it is more than this you need to run a cable between the car body and the engine block.