Assalam o 'alaykum, Mawlana Sarfaraz Khan mentioned in his tafsir lecture that the above is not true as a Prophet doesn't befit such an illness.
My understanding is that the illness itself was 'leprosy', and beacuse of this and small insects/ants would be able to walk over the body of Hazrat Ayub (AS) [due to their limited mobility]. When these insects would climb off the blessed body of Hazrat Ayub (AS), Hazrat Ayub (AS), would pick them up & place them on his body himself, and say, "Allah has made my body your home, where are you going" (or words to that effect....)