Automate Fn key switch between finder and photoshop?
You could use Spaces.
Lock each app to its own space then use the built-in system hot keys to switch between those Spaces.

See my answer at https://apple.stackexchange.com/a/179403/85275 for some working methods.