S3 Will NOT Restart After Power Loss If 5V Pin Connected

Thank you for getting back to me on this issue.

I am using the 5V pin as an output pin as shown in my hookup diagram shown next.

As seen the 5V pin is powering the solid-state-relay (SSR). The circuit works as designed except when power is lost the S3 will not restart because the port is unavailable as I showed above. I think I can overcome this by using a buck-booster but would rather not if this problem can be resolved.

Thank you for your help.