Anyone seen "Error code: P0224" press break peddle causes the engine to stop? on 2005 Kia Amanti

When clearing the error, the car starts running correctly. According to some of the sites, the TPS Pedal Position / Switch B circuit can be tripped. The software to the cars computer appears to enable a kill process every time you hit the brake. I was told to put new gas, have the injectors cleaned, and possible replacing the EGR valve. My question is to see if anyone has seen this issue and is the kill process standard when this happens.

Asked by for the 2005 Kia Amanti