Man resists robbers, shot four times