Another (recent, i.e., 2022) question pointed to this one. So even at this late date I should point out these facts in case someone else is directed here and wants the definitive answer, not just an isolated counterexample to a naive question.
- The product $f(x)k(x)$ is Lebesgue integrable on an interval $[a,b]$ for every integrable function $f(x)$ if and only if the function $k(x)$ is essentially bounded
[First proved in H. Lebesgue, Ann. Fac. Sci. Univ. Toulouse (3) 1, 25–117 (1910), in particular, pp. 38–39].
- The product $f(x)k(x)$ is Denjoy-Perron integrable on an interval $[a,b]$ for every Denjoy-Perron integrable function $f(x)$ if and only if the function $k(x$) is equivalent to a function of bounded variation.
[The "if" part is ancient history (I don't know the source). The "only if" is in Sargent, W. L. C. On the integrability of a product. J. London Math. Soc. 23 (1948), 28–34.]
The question is stated for "the generalized Riemann integral" or "the Henstock-Kurzweil integral." The Denjoy-Perron integral is equivalent to these and was first by about half a century. Let's not forget that.