Why would a 1998 Chevy Metro start fine but when stopped after driving keep cutting out and dying and keep starting fine changed the TPS sensor and catalytic converter?

try cleaning or replacing the cylanders