wil fuel tank vapor pressure sensor make my cars rpms go up when I press the gas on 2002 Hyundai Elantra

rpms go up, power goes down , doesnt accelerate

2 answers
rpm's supposed to go up when on gas. poss. tranny issue. take it a shop for diagnostic run.
scan codes and post so we can adv