RMP is above 1000 during idle and car gerks when shifts to second gear on 2001 Hyundai Sonata

the problem does not occur all the time. I replaced my Idle Activator still the problem persists, the car now raves during idle and huge jerk when automatically shifts to the second. The RPM above average is it related to the gear jerk or are they 2 different issues .. please help me on this anyone as I'm really getting sick of my car now. Thanks a mill ...

Asked by for the 2001 Hyundai Sonata