the throttle body butterfly sticking is a well know issue with the LS , a good clean every 100,000 miles is all they need.
crap seems to accumelate around and behind the butterfly making it stick.
a good clean and lube before spending money on it.
throttle position sensors do fail :( .
Also the idle/cruise control if sticking can make similar errors (the ecu misintupreting the problem) , but best leave that idea for last as you don't want that.