2007 Suzuki Grand Vitara

Need help trying to figure out why it starts normal and idles normal but as soon as I put it into reverse or drive it stalls. Also the slip control light is continuously flashing even though the truck won’t run when in gear. Battery went dead but it’s fully charged now. I cleaned the maf sensor whith the crc maf cleaner.any suggestions on the cause