From Yellowstone drive to Salt Lake City takes about 6 hours, so you have a few hours in the park. You can stop at Old Faithful and West Thumb. If you enter the park from North, stop at Mammoth Hot Spring first.