I agree with those who said you should consider an additional day at Yellowstone and one less in the Black Hills. We've been to both several times, and although the Black Hills has many individual sites of great interest and beauty, Yellowstone is simply mindboggling the first time you are there. Don't let people tell you to skip your "taster's menu" of the area, though! You will want to come back no matter where you go and what you see, but that's just the way life is! How much you will actually get to see, especially in Yellowstone, depends on the month you are there. August is utterly miserable--we were there last summer (2018) and literally could not get into the parking lots. When we were there in September (2011), we saw all the highlights of the park in three days. If you are interested, here are the blogs from those three days to give you an idea:
http://debandjoeontheroad.blogspot.com/2011/09/wow-just-wow.html
http://debandjoeontheroad.blogspot.com/2011/09/water-water-everywhere.html
http://debandjoeontheroad.blogspot.com/2011/09/wild-kingdom.html
My blog from 2007 includes details of two days in the Badlands/Black Hills and Devil's Tower. Traveling from NJ and only having one month, we went to Yosemite and back, and it was truly wonderful, despite not having a week in every place we stopped.
The truth is, no matter where you go, you will feel that your trip was fantastic. Take it from another NJ member :)
Debbie