Cadillac seville STS, after gear lever actuation the engine goes off

Hello, but I’m new for more than 10 years. Have a problem with o.g. Fzg. Has often run out during the ride. at once he has not jumped any more. Error code: pcm p0372, p1377, …….all sensors I have already changed .icm with ignition coils. Battery Optima, mass points everything checked.Now the engine runs but the car does not drive. as soon as I operate the gear lever the engine goes off. and leases itself no more. But when I go to the parking brake and the solvent, Gear on P. then he rolls back a few centimeters then he jumps again and runs like on the first day. I have to do with a mechanical problem or electric. Again: as soon as I want to insert the gear the engine dies out. then no matter how often he tries to start it he does not jump on. It is enough that I press the fixed-sell brake and then mostly unlock Manuel and the car rolls back 2 cm as far as it allows in the transmission on P. then he immediately jumps on again as if it is n Each time in a certain position he jumps on. if I want to leave he goes off. It is: I push the lever into the switch position to the right and then very quickly on D. to pass the R N position. Then he winds up a right turn. then he goes off- the engine. Then he jumps again until he has found “his position “. Mt the symptoms I have no PDC signal and no return lights .brake and position everything ok. I think there is a connection Where Thank you to DonC.