Target Redirector is a Burp Suite Extension written in Kotlin, which redirects all Burp requests destined for a chosen target to a different target of your choice. The hostname/IP, port and protocol (HTTP/HTTPS) can all be configured to an alternative destination.
https://portswigger.net/bappstore/d938ed20acbe4cd9889aa06bd23ba7e1