I have experienced this, before after getting gas in Borrego Springs before heading up to the look out, somewhat hard riding in the triple digits with some localsIt only does it after being hot and trying to start after a long ride, no check engine codes or anything.
maybe a TPS reset is due, but that's just guessing without physically being there to see and hear it. could be a fuel delivery issue as well...kept the motor running with higher rpm then just your normal idle and it sounded fine till i let off the throttle again.