Everytime I'm coming to a stop my rpm go up and down then shut off what is wrong on 2007 Chevrolet Colorado

Whenever I'm coming to a stop my rpm goes up n down then shuts off what can it be.. plz help

1 answer
what do you set sparkplugs gap on chev colorada