running a command in random cords

im creating something for me and my friends to play in and we are trying to make it spawn 1 random block somewhere in the world the command i was gonna use was execute as @s run setblock $(random_x_recipe) $(random_y_recipe) $(random_z_recipe) Crafting_table or something like that any potential ways to do so?
Continue to help post