No, they are not the same. The throttle position sensor is located inside or on the throttle body of the engine. The accelerator pedal position sensor is located on the accelerator pedal inside the car.