shuts off on 1995 Buick Century

why my car shuts off wend i put it on reverse or drive

Asked by for the 1995 Buick Century
Could be a problem with a dirty throttle plate or a bad sensor or electrical wiring or torque converter issue -To many variables-Suggest a diagnosis for a proper repair.