Can somebody help me find out what those parts are?

So my 2002 Blazer is just randomly turning off while driving sometimes. My mechanic said I should try to find a replacement for the part in pic 1&2. But I have no idea what that part is. The 3rd picture is another part je said I should replaced. He's calling it petrol paddle, but I can't find anything like that with that name other than the actual gas pedal. Problem is my mechanics english is not very good so any help IDing these two party so I can try to buy them would be highly appreciated