I am not sure. If the passenger had continued to New York with AA, then it would seem to be clear that compensation would be due ( unless departure was delayed due to an exempt reason )
How late was she in arriving into New York by taking Amtrak
I am not entirely certain that by effectively changing destination to PHL that she would be entitled to compensation