BANGKOK — All of the extreme emotions, the fears of lawlessness and the concerns about violence breaking out in Sunday’s election in Thailand are on display in a community called Lat Krabang, a few minutes’ drive from the main international airport here.

Protesters battling to overthrow the government of Prime Minister Yingluck Shinawatra have vowed to stop the election, but residents here have banded together and say they are preparing to repel anyone who tries to prevent them from voting.

“We will not yield to them anymore,” said Chalem Morse, 70, who last Sunday watched as protesters tried to disrupt advance voting, then saw angry residents kick and punch one of the demonstrators. “I will definitely cast my vote.”

The election on Sunday will by no means resolve Thailand’s debilitating power struggle between supporters of Ms. Yingluck and her opponents, who want to banish her and her family from politics — particularly her brother, Thaksin Shinawatra, a tycoon and former prime minister who lives abroad but is believed to still have great influence over government policies.