Safe to travel at 31 weeks?

Maddie

So my boyfriends family lives in New Jersey and we currently live in Kentucky and we have been wanting to visit his family for a while. His mom just said that they were gonna go June 25-July 7th and wants to know if we will go with them. How safe is flying this far along? And if it’s not safe, then could I be in a car for that long?