The country tag for Sofala in EU4 is:
SFA
The command to play as Sofala in EU4 is:
tag SFA
The command to kill the ruler of Sofala is:
kill SFA
The cheat to add Sofala to your country's interest is:
add_interest SFA