A capacitor will aid a properly funtioning electrical system that is not under excessive strain. However, a cap can not replace or do the job that an alternator does.
If your electrical system is allready struggling (Lights dimming-etc) then a cap is only a band aid to a larger problem; the alternator. May as well do things right the first time.
take it easy,
-zane