This website www.reliable-store.com has the largest collection of repair, service, parts manuals of
any vehicle on earth. Best website I came across for manuals.. Also have live assistance
Could be the idle controll sensor. But your on the right track. Clean the throttle body and map or maf sensor with the correct cleaner's. Get it at the parts store.could also be the pcv valve is carboned up.
Most likely a break in the wiring harness in the hinge area of the liftgate. Check for power and ground. If you don't have it, it's a wire or ground connection issue.