The integral in question:
Let $n$ be a nonnegative integer.
$$ \int_0^\infty \frac{1}{x^{2n+3}} \left ( \sin x - \sum_{k=0}^n \frac{(-1)^k x^{2k+1}}{(2k + 1)!} \right ) \mathrm{d}x $$
I was given this problem to try for fun from a professor about two months ago and haven't made a dent in it. If possible, I'd like someone to show how they get to their answer, but please keep in mind that I haven't learned contour integration or complex analysis, but know of a few tricks like Feynman's.
What I've tried:
Writing out the terms to integrate by segments, using the Cosine Maclaurin series and substituting (pi/2 -x) to get the Sine series in a different way, integration by parts (2n+3) times or such to simplify, and a lot more I'm probably forgetting.
I know this site is full of integral-calculating gods, so if this piques your interest please have an attempt and share below.