It'll be a push with not being here, when in July does it run out? If it's the end then you have more of a chance.....
Maybe you could see if you could get an instructor and get their ADI number to book a test that would take place before your theory expires, even if it is only say a week before to give you the most time possible to get back up to standard, then you've just gotta try and get enough lessons in during that time.
If you then feel you aren't ready to take the test then cancel it to save the £62 and you would have to then retake the theory and book a test later on, and obviously if you were to fail you would also have to retake the theory to then be able to book another practical
.
Unless you are very lucky, it looks like you might only have enough time for 1 test (especially with the trip to NY!) before you theory expires, so IMO it would be best to have that test as late as possible to give you the best possible chance
. You could chance getting 2 relatively "short notice" ones though as a backup incase you fail, but then it's getting back up to standard before the first
Good luck with driving again!
. If you were up to test standard before, then reading reports from others, it shouldn't take you too long to get back into driving, so even if you were to have say 2 lessons a week it would be possible if you were at a good enough standard before