Giacomo Jacques BeharImmigration AttorneySan Diego, CACA licensed ·
No, a trip (and stay) in PR does not count, since PR is US Territory, and as such your trip to PR was the same as domestic travel to any one of the 50 states.
Puerto Rico is a US Territory. However, if your flight stopped in a foreign country it could be considered foreign travel. Please speak to an immigration attorney and have one prepare your N-400 application for you if you have problems.