How to test for ethernet hardware failure

Yes change the device in the wireless config from wan to lan. All of your APs should be in lan, they will be added to the bridge br-lan. Also for best wifi performance always set your country code (same country on both radios). This is not

lan4 has no IP address though it does have both sent and received packets. Though it could be related to having that wifi AP attached to wan.

Unplug and re-connect the Ethernet cable to the modem and confirm from the log that lan4 comes up at 1000 Mb (assuming modem is GbE capable).

It may make sense to go to a default configuration then if that does not work (presumed hardware failure of wan), make only the one change to make a lan port be the wan port. It may be good to use lan1 for this since you're absolutely certain that that one works. If the switch chip has been hit by lightning through the wan port it's possible it isn't only that port affected.