Chaotic dynamics of a free particle interacting linearly with a harmonic oscillator