2004 1500 ram idles unsually high

2004 dodge ram 1500 idles up to 2000 RPMs then down at when the vehicle is stopped in drive. sometimes it completely shuts off and i have to put it in park and then start it back up to drive again. read a few things that it might need the throttle body cleaned.

any suggestions? any experience this issue?

crwdns2893858:0crwdne2893858:0 crwdns2893862:0crwdne2893862:0

crwdns2894050:0crwdne2894050:0

crwdns2889612:0crwdne2889612:0 0
crwdns2892346:0crwdne2892346:0