2000 Toyota Camry - On idling in Drive I get small jerks along with the engine rpm sinking and then rising alternatively. Any idea on what the problem could be?

Took it to a car dealership and they found that the spark plug needed to be replaced. It is fine now.