Commands from the profile being switched from are stopped, in part because there is no guarantee they will be available in the to profile being switched to.
While it's not feasible to keep a command running across profiles, what you could do is to set a variable value before switching, and then use a command assigned to the "Execute a command each time this profile is loaded" option in the profile being switched to to check that variable value and execute a command if required.
E.G.
Set Boolean [executeCommandAfterSwitch] to True
Switch to profile, 'Destination profile'
and
Begin Boolean Compare : [executeCommandAfterSwitch] Equals True
Set Boolean [executeCommandAfterSwitch] to False
Execute command, 'Destination profile command'
End Condition