Sitting in the San Juan airport from 2:15 to 10 or 11 AM with a 2 yr old???????
You'll NEED a cruise after that!
I suggest checking around with some of the various hotels. Perhaps you could get an inexpensive rate for a "day room" since you're arriving so late.