Allow me to suggest an alternative on the Trns Am in MT. After Big Hole Pass east of Jackson, make a left onto the Pioneer Mountains Scenic Byway. It rolls through the scenic Grasshopper Valley then starts to climb. Although you top out at nearly 8,000", in sustained hilly section (the last 5 miles) is not that difficult. After summitting, you have a net elevation loss of 24 miles, and there is a wonderful alpine meadow area. You end up in Wise River, where there is a good restaurant (The Wise River Club) and a small mercantile with enough stuff to cobble together a dinner. Nine miles east on MT 43 is Divide Bridge Campground, in inexpensive BLM site on the Big Hole River established sites, a host, water and pit toilets.
From there, continue east a few miles to the end of MT 43 and make a right onto the frontage road that takes you to Melrose, where there is a lodging/campground place and a restaurant. Three options to get back on the TA.
1. Stay on the frontage road to Dillon.
2. Hop on I-15 (legal) to Dillon.
3. At the south end of town, make a left onto Melrose-Twin Bridges Road (there should be a sign pointing the way) and take that to MT 41 at Twin Bridges.
The first two options are paved. Option 3 is not, but it's a very interesting ride. Open land ((re)apply sunblock in Melrose) with free range cattle in areas. I have done it on 700 x37c inverted tread tires. There is climbing and descending and some rougher spots, but if you have right equipment and ride somewhat conservatively, the effort is worth it. During the three times I have ridden that road, I have encountered maybe 6 vehicles in total. Last time I did I saw one vehicle turn off down a different road far ahead of me. At one point I stopped for a break and could hear no manmade sounds at all, only the rustling of the grass, the calls of birds and the buzzing of insects. This way also avoids a 12 mile shoulderless section of MT 41 between Dillon and Twin Bridges., which has high speed traffic, due in part to its straightness. Unless it has taken a turn for the worse, the Bike Camp in Twin Bridges is a great place to stay. I have taken some rest days there as the town has just about everything you could need except a bike shop.
Another neat gravel section I proposed a long time ago is between Sheridan (the next town east of Twin Bridges) and Laurin. The surface was benign when I rode it back in 2016. And it avoids a stretch of shouderless highway (about 8 miles, IIRC) without bypassing any of the services in either town. If it's not on the ACA map or its addendum, I can give you a ling to the RWGPS map.