TCC (torque converter clutch) solenoid. Bad wiring harness inside the trans pan. Bad brake switch. That or you're riding the brake pedal.