Not sure if I understand the essence of the question, but
you don't need the brackets in this.
$gameSwitches.value($gameVariables.value(303)) == true
should suffice.
Game Switches and Self Switches are boolean types, so they can only take either true or false state.
Besides don't use square brackets...
$gameSwitches.value($gameVariables.value(303)) == true
You have two problems. First, your original description is confusing - you say the value of #303 is 105, but then you want to check switch #405. Did you mean #105? Or should you be adding something?
Second, you're using brackets instead of parentheses. it needs to be $gameSwitches.value() each time.
$gameSwitches.value(id) can be either true or false so if you wish to set switch true, by value of variable #303 then you do this code:
$gameSwitches.setValue($gameVariables.value(303), true)
Then using conditional branch you use code
$gameSwitches.value($gameVariables.value(303)) == true
but I would use
$gameSwitches.value($gameVariables.value(303)) === true
wich means "check switch id if is EXACLY true
And just for your knowledge, in this case, there is no reason for it to matter whether you use == or ===. Switches in MV can only have a true or false value, so == works perfectly fine. The only reason to use === is when there's a possibility for comparing variables of different types and you need it to match exactly (for example, saying "1" === 1 will evaluate to false, but "1" == 1 is true).
This doesn't matter at all in your script because you're using a built-in function that will only return true or false. In fact, you don't even need to compare it to anything, you can simply say if ($gameSwitches.value(X)) and it will proceed correctly if the function returns true.
Ultimately, in this case, there has to be someplace in your game where you're accidentally setting that switch, or not resetting it after use.