 A federal judge, different states have different mechanisms for how state judges can be removed. But no, a federal judge is appointed for life. The only way they can be removed is if they're impeached by the House of Representatives and removed by the U.S. Senate. But no, a president can absolutely detest any decision that a judge makes, but they're powerless to do anything.