Note: The code doesn’t work on the Checkout page (/checkout) and Order Email.
Use code to Code Injection – Footer
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
$(".product-price").html(function() {
return $(this).html().replace("$", "AED");
});
});
</script>

Result:
