TPS ??
throttle position sensor?

and what kind of weird did it act?