Someone may have better info than me..

But next time it happens try unplugging sensors and see if that idle calms down.
also.. Check your ign1uh fuse.. #21