LGA's runways are 7000' each. and LGA to SJU is about 1600 miles. US currently flies SNA to PHL (about 2300 miles) and uses SNA's short runway.
Remember, this service is via A319 and is Saturday-only. If the route ever got more popular, and US had performance issues, it could easily switch to a 757 which has better legs and runway performance.