Upvote:1
Assuming that this is all on one ticket under a single confirmation number, you should receive boarding passes for both flights when you check-in at SFO and your bags should be checked through to PUJ. When you check-in, just confirm that this is the case with the agent who tags your bags.
Note that, for the reverse trip, when you fly back into the United States from an international destination without preclearence, you'll have to clear immigration and customs at the first US port of entry rather than your final destination. There, you'll go through US immigration, claim your bags, take them through customs, and then drop them off at a designated counter (just follow the signs for connecting flights) so they can continue on to your final destination.