Take both boxes. Look, the money is already in the boxes. Box B either has $1,000,000 or nothing already. It isn't going to suddenly disappear if you choose both boxes. So take box A, which has $1,000 in it, and take whatever is in box B. If it is empty, at least you get $1,000.
I'm sure there was a good reason you choose box B. But to resolve the paradox, you need to explain why this explanation is wrong, not why your reasons for choosing both boxes is right. Can you do it?