I've replaced depression with binge eating, how can I stop binge eating without taking on another bad habit?

Treatment. Treat your depression. If you are truly eating to overcome your feelings of depression, then you will either not improve or start another, possibly more dangerous, habit unless to treat the underlying depression.
Emtional and physica. There are 2 parts to handling this type of problem --- the first are the emotional aspects, bad habits that have developed to cope with stress in inappropriate ways ---this requires counseling into what is wrong, what is triggering the behavior and mechanisms to help avoid the behaviors --the second are the physical aspects of cleaning and repairing the GI tract, specifically liver/gut environment.