Visa on Arrival for a short layover period


I have my flights from Mumbai to Bangkok (Jet Airways) and then connecting to Bangkok to Kaohsiung (China Airways) with a 4 hour 20 minute layover period in Bangkok. I was wondering if I will require Visa on arrival for changing the flights and will the time of 4 hour be sufficient for it?

Any help would be really appreciable.