Will penicillin vk 500mg tablets treat an ear infection?

Unlikely. With a large proportion of s. Pneumonii (most common bacteria causing middle ear infection) becoming resistant to penicillin, the mainstay of antibiotics treatment for "ear infection" is currently a high dose of amoxicillin.