Just out of curiosity, I wonder why Wolfram Alpha would give me two different answers to the same query that very much do not agree. Numerical computation of an integral is involved (with big powers of small $x$'s, so big rounding off errors, enlarged by a factor of $2^{1000}$), and I have no reason to expect that the error in either of the two answers is small (so neither of the two approximations need to be close to the correct value), but I wonder what are the inner workings of Wolfram Alpha that make it display two answers that are so off from each other.
One answer is $1.6036\times 10^{105}$, the other is
$-2.041253178575746070624332792862500105708912774979593... \times 10^{100}$.
Note the opposite signs, and the big absolute values, so anything could be in between.
I just noticed Wolfram shows some more details, the first answer is "Computation result:"
2^1000 integral_(1/2)^(2/3) x^1000 sin(1/(2/3 - x)^2) dx = 1.6036×10^105
and the second answer is "Decimal approximation:"
-2.041253178575746070624332792862500105708912774979593... × 10^100
where "Wolfram Language code:"
N[2^1000 Integrate[x^1000 Sin[1/(2/3 - x)^2], {x, 1/2, 2/3}], 79]
The query is
((2^1000)* (integral from 1/2 to 2/3 of x^1000 sin(1/(2/3-x)^2)))
i.e. $2^{1000}\int_{1/2}^{2/3}x^{1000}\sin(\frac1{(\frac23-x)^2})dx$
link to Wolfram Alpha query
I was trying to get a better understanding of some integrals related to the following MSE problem.

This is not a complete answer, but for what it's worth, trying your code
in Mathematica gives
According to the documentation, “N[Integrate[…]] calls NIntegrate for integrals that cannot be done symbolically”, with the option PrecisionGoal by default being 10 less than WorkingPrecision. And the call
indeed returns
(but much faster, probably because it doesn't try symbolic integration first).
So that seems to be the source of the negative answer. Where WA gets that positive answer, I have no clue!